App-Prove-Plugin-SetEnv
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
# check ExtUtils::MakeMaker Changes
NORECURS => 1,
clean => { FILES => "$distname*" },
dist => { TARFLAGS => 'cf', COMPRESS => 'gzip -9f', SUFFIX => 'gz' },
realclean => { FILES => 'local' },
test => { RECURSIVE_TEST_FILES => 1 }
);
# Makefile.PL as a modulino
# https://www.masteringperl.org/2015/01/makefile-pl-as-a-modulino/
if ( caller() ) {
no warnings qw( redefine ); ## no critic (ProhibitNoWarnings)
# redefine ExtUtils::MakeMaker::WriteMakefile() to echo its atributes
*ExtUtils::MakeMaker::WriteMakefile = sub {
+{ @_ } # \%att
};
# re-trigger the ExtUtils::MakeMaker::WriteMakefile() modification
ExtUtils::MakeMaker::CPANfile->import
}
WriteMakefile( %att )
( run in 0.450 second using v1.01-cache-2.11-cpan-dd325dfa429 )