gonzui is a source code search engine written in Ruby by Satoru Takabayashi. It will index various code/file formats (C, Ruby, Perl, JavaScript, plain text to name a few), extract various metadata elements and allow you to search it.

Tatsuhiko Miyagawa, who wrote the Perl plugin for gonzui, has indexed a mini-CPAN (he tells me it took 48 hours to do the initial indexing, but incrementals are quite fast) and made it available for public consumption (here). You can read his announcement in his blog.

You can view some statistics of the database.

Things to try:

The advanced search page should give you a good idea as to what you can search on.

gonzui is still early in it's development and some parsers are (obviously) not quite perfect. However, I'm told that future enhancements include XML and template parsing as well as some database changes to allow for case insentive searching.

--
"Go up to the next female stranger you see and tell her that her "body is a wonderland."
My hypothesis is that she’ll be too busy laughing at you to even bother slapping you.
" (src)


In reply to Search the contents of CPAN with gonzui by LTjake

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.