App-MyPerl
view release on metacpan or search on metacpan
right.
# important ones
use strict;
use warnings;
# good
use autodie qw(:all);
# better exceptions
use Try::Tiny;
use Carp;
On top of that you might find Scalar::Util, List::Util useful all over
your code.
"myperl" allows you define this boilerplate once and for all, while
maintaining compatiability with existing code.
TUTORIAL
If there is no "export MYPERL_HOME="~/.perl_defaults"", "~/.myperl" is
lib/App/MyPerl.pm view on Meta::CPAN
A C<.pm or .pl> file usually requires some preamble to get some defaults right.
# important ones
use strict;
use warnings;
# good
use autodie qw(:all);
# better exceptions
use Try::Tiny;
use Carp;
On top of that you might find L<Scalar::Util>, L<List::Util> useful all over
your code.
C<myperl> allows you define this boilerplate once and for all, while
B<maintaining compatiability> with existing code.
=head1 TUTORIAL
( run in 0.279 second using v1.01-cache-2.11-cpan-05444aca049 )