[Chicago-talk] CPAN prerequisite

Jay Strauss me at heyjay.com
Fri Oct 28 05:52:19 PDT 2005


Hi, (my 1st posting didn't seem to make it to the list)

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";
}

Thanks
Jay


More information about the Chicago-talk mailing list