Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^7: Searching for Modules and Descriptions on CPAN Remotely

by randyk (Parson)
on Jan 23, 2006 at 21:23 UTC ( [id://525056]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Searching for Modules and Descriptions on CPAN Remotely
in thread Searching for Modules and Descriptions on CPAN Remotely

At search.cpan.org, as well as within CPAN-Search-Lite, attempts are made to obtain module and package descriptions from the pod, if the CPAN indices don't have them. An alternative to downloading and extracting the pod, or using WWW::Mechanize, is to use the csl_soap script that comes with CPAN-Search-Lite to query, via a soap interface, the database that cpan.uwinnipeg.ca uses. If you set, within the script,

my $soap_uri = 'http://theoryx5.uwinnipeg.ca/Apache/InfoServer'; my $soap_proxy = 'http://theoryx5.uwinnipeg.ca/cgi-bin/ppminfo.cgi';
then calling the script as:
perl csl_soap --module Catalyst::Plugin::Geography
will fetch the available information from the database, including the description.

The mod_search function of PPM::Make::Util indicates how this soap service can accept an array reference of module names. Currently there isn't support for wild-card searches, but that could easily be added, if there was interest.

Replies are listed 'Best First'.
Re^8: Searching for Modules and Descriptions on CPAN Remotely
by ghenry (Vicar) on Jan 24, 2006 at 10:12 UTC

    Thanks randyk,

    This looks interesting, and I will have a play when I get a bit more time.

    I gave up on CPAN-Search-Lite as I just couldn't get Apache2-Request installed, as per the install requirement.

    Gavin.

    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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://525056]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-03-29 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found