Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Getting a List of Modules from the CPAN without your Browser?

by ghenry (Vicar)
on Aug 30, 2006 at 20:34 UTC ( #570474=perlquestion: print w/replies, xml ) Need Help??
ghenry has asked for the wisdom of the Perl Monks concerning the following question:

UPDATE: Trying CPAN::Search::Lite::Info, looks good

Dear All,

It's been a while, so forgive me for not contributing lately, but has anyone got any tips on getting info from search.cpan.org without using your browser?

I am trying to get a list of all the Catalyst Plugins.

The problem is, if I mess with 03modlist.data.gz only registered namespace is listed and most them aren't.

Thanks,
Gavin.

Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a yourname@perl.me.uk? Just ask!!!
  • Comment on Getting a List of Modules from the CPAN without your Browser?

Replies are listed 'Best First'.
Re: Getting a List of Modules from the CPAN without your Browser?
by jhourcle (Prior) on Aug 30, 2006 at 20:48 UTC

    Does the CPAN shell count as a brower?

    cpan> i /Catalyst/

      Yes! ;-)

      But i /Catalyst::Plugin/ is just about there, but I want to code something up and pull out parts of that.

      Walking the road to enlightenment... I found a penguin and a camel on the way.....
      Fancy a yourname@perl.me.uk? Just ask!!!
Re: Getting a List of Modules from the CPAN without your Browser?
by randyk (Parson) on Aug 31, 2006 at 05:15 UTC

    You mentioned in the update about CPAN-Search-Lite - there's a script in that distribution: csl_soap, which can be used to get information on CPAN modules, distributions, and authors from a remote SOAP server (it just requires SOAP-Lite and Getopt-Long, not the full CPAN-Search-Lite package). To see it work, near the top of the script, set

    my $soap_uri = 'http://theoryx5.uwinnipeg.ca/CPAN_Search_CGI'; my $soap_proxy = 'http://theoryx5.uwinnipeg.ca/cgi-bin/soap.cgi';
    and then you can use it as
    C:\Perl\bin>csl_soap --dist Catalyst-Plugin-Pluggable Distribution: Catalyst-Plugin-Pluggable Abstract: Plugin for Pluggable Catalyst applications Version: 0.04 CPAN author: SRI CPAN file: Catalyst-Plugin-Pluggable-0.04.tar.gz Size: 3.0 KB bytes Last modified: 28 Nov 2005
    This doesn't do wildcard searches - it's just there as a proof-of-concept - but could readily be adapted to do so if there was interest.

Re: Getting a List of Modules from the CPAN without your Browser?
by grep (Monsignor) on Aug 30, 2006 at 20:50 UTC
    perl -MCPAN -e shell
    will get you into the CPAN (module) shell.

    Then
    i /Catalyst/
    but also check out The Catalyst page on Plugins



    grep
    Mynd you, mønk bites Kan be pretti nasti...

      Heh.

      I wrote a big chunk of that ;-)

      I document what's good and not good (deprecated) on that list and it's due for an update, but I am not using my browser again! ;-)

      Walking the road to enlightenment... I found a penguin and a camel on the way.....
      Fancy a yourname@perl.me.uk? Just ask!!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://570474]
Approved by philcrow
help
Chatterbox?
[holli]: virtualsue: How much was left?
[shmem]: Discipulus: oh. tatsächlich.
shmem missed his monkday yesterday :P - 12 years and way to go...
[1nickt]: Happy Monkday shmem. I was at my stepson's birthday party and thought of you.
[virtualsue]: holli about half
[choroba]: "Tatsächlich, das ist die Knochenstruktur eines Bettlers!" ??
shmem bows. Thank you
[marto]: slowclap.gif
[marto]: animated gif in question...
[1nickt]: Interesting article on the Coming Software Apocaplyse that I found while following one of eyepopslikeamosqui to's posts. Posits that no one can guarantee the quality of, or even understand, the 100 million lines of code in a mo

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2017-11-21 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (301 votes). Check out past polls.

    Notices?