App-MusicExpo
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
sub is_installed {
my ($module) = @_;
eval "require $module"
}
my @extra_prereqs;
unless (grep \&is_installed, @optionals) {
my $answer = '';
while (!$answer) {
my $yn = lc prompt 'None of the optional dependencies are installed. Install all of them? (default: y) [y/n]', 'y';
$answer = $yn if $yn eq 'y' || $yn eq 'n';
}
@extra_prereqs = @optionals if $answer eq 'y';
}
WriteMakefile(
NAME => 'App::MusicExpo',
VERSION_FROM => 'lib/App/MusicExpo.pm',
ABSTRACT_FROM => 'lib/App/MusicExpo.pm',
AUTHOR => 'Marius Gavrilescu <marius@ieval.ro>',
( run in 1.825 second using v1.01-cache-2.11-cpan-6aa56a78535 )