Acme-CPANModules-ModernPreambles
view release on metacpan or search on metacpan
181920212223242526272829303132333435363738and they develop modules/pragmas that bundle the above incantation plus
some additional stuffs. For example:
is equivalent to:
mro::set_mro(
scalar
caller
(),
'c3'
);
I think Modern::Perl is one of the first to popularize this modern
preamble concept and a bunch of similar preambles emerged. This list
catalogs them.
Meanwhile, you can also
use
:
use
v5.12;
# enables strict and warnings, as well as all 5.12 features (see L<feature> for more details on new features of each perl release)
and so on, but this also means you set a minimum Perl version.
lib/Acme/CPANModules/ModernPreambles.pm view on Meta::CPAN
2122232425262728293031323334353637383940develop modules/pragmas that bundle the above incantation plus some additional
stuffs. For example:
is equivalent to:
mro::set_mro(
scalar
caller
(),
'c3'
);
I think <pm:Modern::Perl> is one of the first to popularize this modern preamble
concept and a bunch of similar preambles emerged. This list catalogs them.
Meanwhile, you can also
use
:
use
v5.12;
# enables strict and warnings, as well as all 5.12 features (see <pm:feature> for more details on new features of each perl release)
and so on, but this also means you set a minimum Perl version.
lib/Acme/CPANModules/ModernPreambles.pm view on Meta::CPAN
8081828384858687888990919293949596979899develop modules/pragmas that bundle the above incantation plus some additional
stuffs. For example:
is equivalent to:
mro::set_mro(
scalar
caller
(),
'c3'
);
I think L<Modern::Perl> is one of the first to popularize this modern preamble
concept and a bunch of similar preambles emerged. This list catalogs them.
Meanwhile, you can also
use
:
use
v5.12;
# enables strict and warnings, as well as all 5.12 features (see L<feature> for more details on new features of each perl release)
and so on, but this also means you set a minimum Perl version.
( run in 0.241 second using v1.01-cache-2.11-cpan-94b05bcf43c )