Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: search.cpan.org comments/discussion

by ignatz (Vicar)
on Sep 09, 2002 at 00:35 UTC ( #196121=note: print w/replies, xml ) Need Help??


in reply to search.cpan.org comments/discussion

I've had the title "The Annotated CPAN" swimming around in my head for a while now. Something that pretty much does what you're talking about. Between USENET, Perl Monks, and other Web Sites out there one could come up with a pretty hard core resource. (FYI, I am a fanatic when it comes to cataloging things. My all time hero is Ludwig Von Köchel, the guy who fanatically cataloged the works of Mozart.)

Here's a couple of things that I would add to what you have said:

  • Book References
  • Cached Usenet posts, edited
  • Link to the latest version of each module, as opposed to the raw search results that one gets now.

I should say that I'm pretty pleased with the new version of search.cpan.org but there's no reason why the community can't do more...

++ for bringing this up!

()-()
 \"/
  `                                                     
  • Comment on Re: search.cpan.org comments/discussion

Replies are listed 'Best First'.
Re: Re: search.cpan.org comments/discussion
by grantm (Parson) on Sep 09, 2002 at 00:43 UTC
    Link to the latest version of each module, as opposed to the raw search results that one gets now

    Yes, that is a bit annoying and probably something that ought to be fixed. Is there in fact a way to link directly to the main page for the 'latest' version of a distribution on search.cpan.org (without having to specify the author's CPAN ID)?

      I got an email reply from Graham Barr that this format link does work: http://search.cpan.org/dist/libwww-perl. From the PM side, there are a couple of gotcha's:

      • you have to use the distribution name which might not be the commonly used name (eg: libwww-perl rather than LWP
      • you have to remember that distribution names use hyphens rather than double colons (eg: XML-Parser)
      • don't forget about case sensitivity

      Given all this, it's not hard to see why the [cpan://name] links go to the search function but if you get the module name wrong (eg http://search.cpan.org/dist/xml::parser) then search.cpan.org falls back to search mode anyway.

      So, perhaps the implementation of the [cpan://name] links should be fixed to change '::' to '-' and then point to search.cpan.org/dist/name

        There is a big difference between a distribution and a module. Substituting :: with - will not work for most modules.

        I would like to see the cpan links to link to http://search.cpan.org/perldoc?module

        right now that is an issue for modules that don't have pod, but we can fix that

      Yes, a google style "lucky" option, the old behavior. I emailed the webmaster about this sometime ago, but the more people that do the more likely it is to be implemented?

      --
      perl -pew "s/\b;([mnst])/'$1/g"

        I am considering a google style lucky option, but it is not high on the todo list right now

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://196121]
help
Chatterbox?
[Lady_Aleena]: My biggest problem with hashes at the moment is one with 2,501 keys.
[choroba]: how many event types are there?
[Corion]: Also I found that I can't conveniently weaken an array slot, which also is inconvenient, as I want my one-shots to disappear if the caller discards them
[Corion]: choroba: Currently two or three that my program handles (WWW::Mechanize:: Chrome), but there might be more that become interesting
[Corion]: But I don't expect more than 100 to be active at the same time, so I'm not really sure if there is a not-too-fancy data structure that is maintained with few lines of code where the performance is better than the linear scan ;)
[Corion]: But I should do a mock-up program so that others can see what I'm talking about ;)
[robby_dobby]: Corion: I hope you know all too well that passing around "fancy" datastructures is a recipe for disaster :-)
[robby_dobby]: As in, it's-too-fancy- that-it-will-be- messy-to-handle
[choroba]: bit vectors as keys?
[robby_dobby]: Hmm, I keep falling asleep at my desk, while maintaining an active appearance. Am I getting old?

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2017-05-29 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?