scan_mojibake (1) - Linux Manuals

scan_mojibake: scan Perl source and report bad character encoding

NAME

scan_mojibake - scan Perl source and report bad character encoding

VERSION

version 0.9

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

AUTHOR

Stanislaw Pusep <stas [at] sysd.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 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.

SEE ALSO

Test::Mojibake