talexb has asked for the wisdom of the Perl Monks concerning the following question:

I have a list of the modules that my web application uses, and I'd like to go backwards and find out what CPAN modules are required to get those modules. There's not always a one-to-one correspondence .. my example of that is Cache::SizeAwareFileCache which is actually part of Cache::Cache.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Replies are listed 'Best First'.
Re: Finding CPAN modules from module names
by PodMaster (Abbot) on Nov 17, 2004 at 19:40 UTC
    and I'd like to go backwards and find out what CPAN modules are r
    You mean distributions, and you use Parse::CPAN::Packages, or CPAN or CPANPLUS.

    scandeps

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Finding CPAN modules from module names
by kvale (Monsignor) on Nov 17, 2004 at 19:40 UTC

      Thanks -- I have a list of 49 modules and I was hoping for some way to simplify and/or automate the process. I guess I'll just go hit the CPAN site a couple of dozen times now.

      Alex / talexb / Toronto

      "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

        Why don't you just use Parse::CPAN::Packages?

        MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
        I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
        ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Finding CPAN modules from module names
by talexb (Chancellor) on Nov 17, 2004 at 22:50 UTC

    Here's how I did it -- I took the suggestion from PodMaster and checked out Parse::CPAN::Packages. This is a package that gets the data file 02packages.details.txt.gz .. so I used anonymous ftp to get to CPAN and found the file in /pub/CPAN/modules.