SCAN_MOJIBAKE(1p)

πŸ“¦
version 1.3 Β· 2 versions
  • 1.3 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.3 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ SCAN_MOJIBAKE ✨

okay bestie, gather round πŸ’– this is the manual page for scan_mojibake, a lil Perl utility whose whole entire job is scanning Perl source and reporting bad character encoding. yes. that's it. that's the gig. and honestly? iconic.


🌸 VERSION 🌸

we're on version 1.3 rn. periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

scan_mojibake [FILES|DIRS]

like… you just hand it files or dirs and it goes to work. no notes. πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea: this is a standalone CLI wrapper for the Test::Mojibake module. it's basically the module in a cute little outfit so you can run it from your shell instead of writing Perl one-liners at 2am.

it does exactly the same as this:

perl -MTest::Mojibake -e 'all_files_encoding_ok(@ARGV)' bin/ lib/ t/*.t

literally the same thing. same energy. same results. no cap. 🫢


πŸŽ€ EXAMPLE πŸŽ€

here's what it looks like when it eats:

$ scan_mojibake bin/ lib/ t/*.t
1..14
ok 1 - Mojibake test for bin/scan_mojibake
ok 2 - Mojibake test for lib/Test/Mojibake.pm
ok 3 - Mojibake test for t/00-load.t
ok 4 - Mojibake test for t/01-bad-check.t
ok 5 - Mojibake test for t/01-self-check.t
ok 6 - Mojibake test for t/01-test-check.t
ok 7 - Mojibake test for t/02-bad-source.t
ok 8 - Mojibake test for t/02-good-source.t
ok 9 - Mojibake test for t/03-bad-pod.t
ok 10 - Mojibake test for t/03-good-pod.t
ok 11 - Mojibake test for t/04-bom.t
ok 12 - Mojibake test for t/05-encode.t
ok 13 - Mojibake test for t/06-pp-vs-xs.t
ok 14 - Mojibake test for t/07-broken-utf8.t

fourteen checks, fourteen oks. a full sweep. the encoding vibe check was passed. we love to see it. πŸ’šβœ¨


🌈 SEE ALSO 🌈

  • Test::Mojibake β€” the actual module this thing is wrapping, go read it iykyk 🧚

πŸ’œ AUTHOR πŸ’œ

Stanislaw Pusep <stas@sysd.org> β€” the main character who wrote this. we stan. πŸ‘‘


this software is copyright (c) 2017 by Stanislaw Pusep.

it's free software, bestie β€” you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so go forth and remix, respectfully. 🫢


okay that's the whole page, you're fully caught up, no further questions your honor πŸ’…

signing off from perl v5.36.0, dated 2022-11-20, filed under SCAN_MOJIBAKE(1p) β€” stay encoded correctly, bestie, love u bye πŸ˜­πŸ’–πŸŒΈ

πŸ“¦ where this page comes from