SCAN_MOJIBAKE(1)
okay so bestie, welcome to scan_mojibake(1) β a User Contributed Perl Documentation page, and it is highkey iconic for catching bad character encoding before it ruins your whole vibe π
β¨
πΈ NAME πΈ
scan_mojibake - scan Perl source and report bad character encoding. No cap, that's the whole mission, and it ate π΅οΈββοΈπ
β¨ VERSION β¨
It's literally version 1.3, periodt π«
π SYNOPSIS π
Usage is giving:
scan_mojibake [FILES|DIRS]
π DESCRIPTION π
This is a standalone CLI wrapper for the Test::Mojibake module, fr fr π«Ά Think of it as a vibe check for your Perl source files π
It does exactly the same as this command:
perl -MTest::Mojibake -e 'all_files_encoding_ok(@ARGV)' bin/ lib/ t/*.t
ngl, if you already know that invocation, you already know the vibe β iykyk πΈ
π¦ EXAMPLE π¦
Not me showing you the whole glow-up in action:
$ 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
look at all those oks β the way that it just ate and left no crumbs ππ₯
π₯ SEE ALSO π₯
Test::Mojibakeβ the module behind this whole main character moment, go give it a read bestie π
π AUTHOR π
Stanislaw Pusep <stas@sysd.org> β icon behavior, honestly π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2017 by Stanislaw Pusep.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Slay, but legally πβ¨
Signing off with perl v5.32.1, dated 2019-10-29 β bye bestie, go scan those mojibake vibes π
π
π¦ where this page comes from
- epel 9: perl-Test-Mojibake 1.3-13.el9 Β· GPL+ or Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms