Test::Script::Shebang - checking the perl script shebang
use Test::More; use Test::Script::Shebang; check_shebang('scripts/foo.pl'); check_shebang_from_dir('bin'); done_testing;
Test::Script::Shebang is checking the perl script shebang.
checking for each file(s).
into script/foo.pl
#!perl use strict; use warnings; print "foo"; ...
into xt/check_script_shebang.t
use Test::More; use Test::Script::Shebang; check_shebang('script/foo.pl'); # success done_testing;
checking for each files in directory.
use Test::More; use Test::Script::Shebang; check_shebang_from_dir('script', 'bin'); done_testing;
xaicron <xaicron {at} cpan.org>
Copyright 2010 - xaicron
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Test::Script::Shebang, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Script::Shebang
CPAN shell
perl -MCPAN -e shell install Test::Script::Shebang
For more information on module installation, please visit the detailed CPAN module installation guide.