I think it could use some adjustments.

If you search for "alias", it appears to search for modules whose documentation matches /\balias/i before it searches for modules whose titles match /alias/i. That is, it lists several modules that use words like "aliases" in their documentation before it lists the module Devel::LexAlias.

For many searches it returns things for which I could find no sensible relation to the search term. At first I thought it was eventually going so far as to take the first letter of the search term and search for things matching /\b$letter/i (that is, things that contain "words" that start with the same letter). But more testing shows that it certainly doesn't always do that...

Perhaps it is stripping letters from the end of the word being searched for (we'll refer to the resulting shortened "word" as $part) and searching for /\b\Q$part\E/i and it will only strip so many letters? I think it should also refuse to strip a word down to a single letter and probably also stop stripping letters if it has already found quite a few matches.

But overall I think it will be very useful, especially if it stays so fast! (:

        - tye (but my friends call me "Tye")

In reply to (tye)Re: New search for CPAN by tye
in thread New search for CPAN by gmpassos

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.