And if you try to search for something more specific than just "sort", then search.cpan.org gives about the worst reaction possible. It searches for any hits that match any of your keywords and then sorts them alphabetically (it appears, the last times I tested). So you get the 2000 hits for "sort" plus another huge batch of hits for "external" or "large" or whatever, and the matches that include both keywords get no preferential position in the output.

Luckily, you can just skip search.cpan.org's stupid search technique and use google w/ "site:search.cpan.org". Compare: Using "large", search.cpan (sort large) completely misses the point (the first hit never even mentions "sort" and Sort::External is in the first page of results only because the "E" from "External" comes quite early in the alphabet) while google (site:search.cpan.org sort large) understands the idea and includes real hits, including Sort::External on the first page (our search terms are still too general). Using "huge" (a less common term), search.cpan (sort huge) does no better while google (site:search.cpan.org sort huge) gives us Sort::External as the very first match.

We should certainly keep the "perldoc" flavor of 'searching' at search.cpan.org, but the other searching should probably just be dropped and replaced with a form that uses google. The current "general" search is just sad.

- tye        


In reply to Re^5: Sorting a (very) large file (how not to search CPAN) by tye
in thread Sorting a (very) large file by condar

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.