Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Which modules on the whole CPAN depends on this module?

by ambrus (Abbot)
on Jul 05, 2013 at 07:46 UTC ( #1042641=note: print w/replies, xml ) Need Help??

in reply to Which modules on the whole CPAN depends on this module?

You can use rsync to keep a local mirror of the module metafiles only from a CPAN mirror. This takes much less disk space than mirroring the whole CPAN, and if you've downloaded them once you can use rsync to keep it up to date while transferring only the new files on the net. A command like rsync -Rvz "*/*.meta" "" /path/to/local/mirror should work if you change the url to a CPAN mirror close to you.

Once you've got the metafiles and the 02packages.details.txt, you can parse them and search in them. The metafiles contain the dependenct modules of each distribution, and the 02packages.details.txt tells which distributions provide which modules.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1042641]
NodeReaper lights some incense and reads Tool and Die

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2018-02-18 09:42 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (253 votes). Check out past polls.