Acme-CPANModules-ModernPreambles
view release on metacpan or search on metacpan
is equivalent to:
use strict;
use warnings;
use feature ':5.26';
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.
ACME::CPANMODULES ENTRIES
Alt::common::sense::TOBYINK
Author: TOBYINK <https://metacpan.org/author/TOBYINK>
lib/Acme/CPANModules/ModernPreambles.pm view on Meta::CPAN
use Modern::Perl '2018';
is equivalent to:
use strict;
use warnings;
use feature ':5.26';
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.
_
entries => [
{module=>'Alt::common::sense::TOBYINK'},
lib/Acme/CPANModules/ModernPreambles.pm view on Meta::CPAN
use Modern::Perl '2018';
is equivalent to:
use strict;
use warnings;
use feature ':5.26';
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.
=head1 ACME::CPANMODULES ENTRIES
=over
( run in 0.227 second using v1.01-cache-2.11-cpan-4d50c553e7e )