Dear Master Monks,

My goal is to be able to search for Modules on CPAN with the same prefix, grab the complete name and description, then print/save the results.

I have been playing with Parse-CPAN-Modlist and CPAN-Search-Lite, specifically CPAN::Search::Lite::Info.

Initially, I thought I was on to a winner, i.e. grab the necessary files to search from (03modlist.data.gz etc.), save them to a tempdir, parse them and print/save/process the results. But both modules insist on only processing Released modules, and I want to process/search every module.

I could just use WWW-Mechanize, and search by hand, but I didn't want to keep hitting http://seach.cpan.org every time.

I also don't want to write all of it myself, but looks like I might have to, unless you guys have any other suggestions of modules/methods?

Thanks for your time,
Gavin.

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

In reply to Searching for Modules and Descriptions on CPAN Remotely by ghenry

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.