[Chicago-talk] CPAN prereq

Jay Strauss me at heyjay.com
Thu Oct 27 19:00:34 PDT 2005


I'm building my first CPAN module.  Is there a way to learn all the 
dependences of a module, or do I need to build a clean box, and do trial 
by error, till I get the prerequisite list?

Also, I need to check if the user is installing on a threaded Perl.
Would this be an appropriate, and good way to test, in the Makefile.PL

use 5.006001;
use ExtUtils::MakeMaker;

if (! grep /ithread/, `perl -V`) {
    die "You must install on a threaded version of perl";


More information about the Chicago-talk mailing list