BEGIN { use strict; use warnings; my %missing = map { eval qq{ require $_ }; $@ ? ($_=>1) : () } qw( base constant strict warnings ); if(%missing) { print "Your Perl is missing core modules: @{[ sort keys %missing ]}\n"; print "Ideally if you are using the system Perl you can install the appropriate\n"; print "package which includes the core Perl modules. On at least some versions\n"; print "of Fedora, CentOS and RHEL, this is the `perl-core` package.\n"; print "\n"; print " % dnf install perl-core\n"; print " ~ or ~\n"; print " % yum install perl-core\n"; print "\n"; print "If you really want to install dual-life modules from CPAN, then you can\n"; print "use cpanm:\n"; print "\n"; print " % cpanm @{[ sort keys %missing ]}\n"; print "\n"; print "Note that some core modules are not available from CPAN.\n"; exit; } } BEGIN { use strict; use warnings; unless(eval q{ use 5.006; 1}) { print "Perl 5.006 or better required\n"; exit; } } # This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.031. use strict; use warnings; use 5.006; use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( "ABSTRACT" => "Don't assign an anonymous arrayref to an array", "AUTHOR" => "Kevin Ryde, Graham Ollis ", "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "Perl-Critic-Policy-Plicease-ProhibitArrayAssignAref", "LICENSE" => "gpl", "MIN_PERL_VERSION" => "5.006", "NAME" => "Perl::Critic::Policy::Plicease::ProhibitArrayAssignAref", "PREREQ_PM" => { "Perl::Critic::Policy" => 0, "Perl::Critic::Utils" => 0 }, "TEST_REQUIRES" => { "Perl::Critic" => 0, "Test::More" => "0.98" }, "VERSION" => "100.00", "test" => { "TESTS" => "t/*.t" } ); my %FallbackPrereqs = ( "Perl::Critic" => 0, "Perl::Critic::Policy" => 0, "Perl::Critic::Utils" => 0, "Test::More" => "0.98" ); unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { delete $WriteMakefileArgs{TEST_REQUIRES}; delete $WriteMakefileArgs{BUILD_REQUIRES}; $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; } delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs);