perl-run-end - execute the Perl code within __END__ for the file/module/code passed.
perl-run-end [options]
pass the full path for the perl file you wish to run.
Options: -i /include/path path to add to @INC
(i.e. perl -I /include/path)
Example:
perl-run-end ~/perl/misc/script.pl perl-run-end -i=/opt /opt/Module/Whatever/YourModule.pm
perl-run-end is a command-line interface to Perl::RunEND, which it uses to exectue the Perl code below __END__
perl-run-end
This module copied it's general bin flow idea from Module-Starter
Copyright 2012 David Wright, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Perl::RunEND, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::RunEND
CPAN shell
perl -MCPAN -e shell install Perl::RunEND
For more information on module installation, please visit the detailed CPAN module installation guide.