App-Framework-Lite
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
#from the following which $mod modules you would like to be fully installed and tested (any modules
#you do not select will still be available but you will have to manually install any module dependencies).
#
#The optional modules are:
#MSG
#
#for my $num (sort { $a <=> $b } keys %optional)
#{
# printf " [%d] %s - %s\n", $num, $optional{$num}{'name'}, $optional{$num}{'description'} ;
#}
#my $c = prompt("\nEnter your choices, separated by spaces (0=none, a=all):", 0); print "\n";
#my %to_install ;
#if ($c)
#{
# if ($c =~ /a/i)
# {
# for my $num (keys %optional)
# {
# $to_install{$num} = 1 ;
inc/Module/Install/Makefile.pm view on Meta::CPAN
BEGIN {
$VERSION = '1.16';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
sub Makefile { $_[0] }
my %seen = ();
sub prompt {
shift;
# Infinite loop protection
my @c = caller();
if ( ++$seen{"$c[1]|$c[2]|$_[0]"} > 3 ) {
die "Caught an potential prompt infinite loop ($c[1]|$c[2]|$_[0])";
}
# In automated testing or non-interactive session, always use defaults
if ( ($ENV{AUTOMATED_TESTING} or -! -t STDIN) and ! $ENV{PERL_MM_USE_DEFAULT} ) {
local $ENV{PERL_MM_USE_DEFAULT} = 1;
goto &ExtUtils::MakeMaker::prompt;
} else {
goto &ExtUtils::MakeMaker::prompt;
}
}
# Store a cleaned up version of the MakeMaker version,
# since we need to behave differently in a variety of
# ways based on the MM version.
my $makemaker = eval $ExtUtils::MakeMaker::VERSION;
# If we are passed a param, do a "newer than" comparison.
# Otherwise, just return the MakeMaker version.
( run in 0.661 second using v1.01-cache-2.11-cpan-6aa56a78535 )