scan_mojibake - Man Page

scan Perl source and report bad character encoding

Version

version 1.3

Synopsis

 scan_mojibake [FILES|DIRS]

Description

Standalone CLI wrapper for the Test::Mojibake module.

Does exactly the same as:

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

Example

 $ 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

See Also

Author

Stanislaw Pusep <stas@sysd.org>

Info

2024-07-19 perl v5.40.0 User Contributed Perl Documentation