# from David Nicol
# on Saturday 12 April 2008 14:15:

>start with an index of packages to distributions, 

Like 02package.details.txt?

>grep the module source for C<use> statements, there you are.

The grep will only get you part of the way there.  To get everything, 
you have to deal with the run-time require (which might be loading an 
optional module, etc.) and platform-specific deps.

> The function that 
> converts the list of use statements into the dependency list would be
> yet another thing that the cpan.org web site does,

Huh?  The modules required *are* the dependency list.  You don't depend 
on a distribution, you depend on a module.

Or have I stumbled into a hypothetical discussion?  There's a cpan.org 
web site that *does* something?

--Eric
-- 
"...our schools have been scientifically designed to
prevent overeducation from happening."
--William Troy Harris
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to