Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by ambrus (Abbot)
on Jul 05, 2013 at 07:46 UTC ( [id://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 "cpan.some.mirror.com::CPAN/modules/by-authors/id/?/??/./*/*.meta" "cpan.some.mirror.com::CPAN/modules/02packages.details.txt" /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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1042641]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2025-03-15 21:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (53 votes). Check out past polls.