App::MyPerl - Your very own set of perl defaults, on a per project basis
# .myperl/modules v5.14 strictures autodie=:all $ myperl bin/some-script
Runs some-script with the following already loaded
use v5.14; use strictures; use autodie qw(:all);
and through the magic of lib::with::preamble, 'lib/' and 't/lib' are already in @INC but files loaded from there will behave as if they had those lines in them, too.
To run tests do -
$ myprove t/foo.t
And in your Makefile.PL -
sub MY::postamble { q{distdir: myperl_rewrite myperl_rerite: create_distdir myperl-rewrite $(DISTVNAME) }; }
to have the defaults added to the top of .pm, .t and bin/* files in your dist when it's built for CPAN.
mst - Matt S. Trout (cpan:MSTROUT) <mst@shadowcat.co.uk>
None yet. Well volunteered? :)
Copyright (c) 2013 the App::MyPerl "AUTHOR" and "CONTRIBUTORS" as listed above.
This library is free software and may be distributed under the same terms as perl itself.
To install App::MyPerl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::MyPerl
CPAN shell
perl -MCPAN -e shell install App::MyPerl
For more information on module installation, please visit the detailed CPAN module installation guide.