syphilis has asked for the wisdom of the Perl Monks concerning the following question:
For me, there's always a "pre-existing PDL" to be found.# Check for pre-existing PDL module in @INC eval { require PDL::Lite; PDL::Lite->import(); }; unless($@) { # uh-oh! we have a pre-existing PDL in path warn( "\n ****** WARNING ******\n" . " PDL version $PDL::Version::VERSION was detected in your \ +@INC\n" . " PDL may not build/test correctly with another PDL in \@IN +C!\n" ); my $go_on = prompt("\nDo you still wish to continue?", 'y'); die "OK, stopping build\n" unless $go_on =~ /^[yY]/; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting CPAN.pm to accept Makefile.PL prompts
by moritz (Cardinal) on Nov 10, 2010 at 08:09 UTC | |
by syphilis (Archbishop) on Nov 10, 2010 at 09:01 UTC | |
|
Re: Getting CPAN.pm to accept Makefile.PL prompts
by Tux (Canon) on Nov 10, 2010 at 08:36 UTC | |
by syphilis (Archbishop) on Nov 10, 2010 at 09:54 UTC | |
by Tux (Canon) on Nov 10, 2010 at 10:14 UTC | |
by syphilis (Archbishop) on Nov 10, 2010 at 11:19 UTC | |
by DrHyde (Prior) on Nov 10, 2010 at 11:20 UTC | |
|
Re: Getting CPAN.pm to accept Makefile.PL prompts
by kcott (Archbishop) on Nov 10, 2010 at 08:59 UTC | |
by syphilis (Archbishop) on Nov 10, 2010 at 09:30 UTC |