logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

scan_mojibake - scan Perl source and report bad character encoding

Author

       Stanislaw Pusep <stas@sysd.org>

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

Name

       scan_mojibake - scan Perl source and report bad character encoding

See Also

       •   Test::Mojibake

Synopsis

        scan_mojibake [FILES|DIRS]

Version

       version 1.3

See Also