[Pdx-pm] how cpan finds dependencies

Eric Wilhelm scratchcomputing at gmail.com
Wed Jan 30 13:43:33 PST 2008

# from Alan
# on Wednesday 30 January 2008 13:33:

>I need to understand how CPAN figures dependencies.  I have a couple
> of modules that a co-worker tried to install via CPAN into 5.10.0 and
> it failed to find Class::MethodMaker when building GnuPG::Interface
> and a few others.

Both CPAN and CPANPLUS basically just parse the output of Makefile.PL  
(or Build.PL) and then go looking for an identifier matching those 

An "identifier" is the thing in the left column of the index (e.g. 

Turns out the optimal technique is to put it in reverse and gun it.
--Steven Squyres (on challenges in interplanetary robot navigation)

More information about the Pdx-pm-list mailing list