|Perl: the Markov chain saw|
Module dependenciesby Brovnik (Hermit)
|on May 24, 2001 at 20:36 UTC||Need Help??|
Downloading stuff from CPAN, I have found inconsistencies in the management of module dependencies.
Some explicitly check and try to get needed modules.
So... I thought it would be nice to build a graph of the dependencies.
I have put together some code to look through all of the installed modules and store in a mysql database the following :
Before I spend more time on this, I would appreciate some thoughts from you folks.
Has this been done before ? (I looked on CPAN and SuperSearch and didn't find anything)
Would other find it usefult to have this ?
What sort of output would be useful ?
In answer to the last, I am toying with :
Update: Have now done some more work on item 2, sample browser is at Here.
Taking DrZaius's advice, it now also reads the perllocal.pod to get more info and throws that in as well.
Have also added a reverse table, which allows you to see which modules a modules is used by.
The overall effect allows you to browse up and down the tree as you like.
Of course, to solve the original problem of finding out what modules I need to install, this really needs to run on CPAN...