http://qs321.pair.com?node_id=447302


in reply to Opera + Firefox browser Shortcut for searching CPAN & Perldoc

An useful variation would be a bookmark with keyword "perldoc":

http://search.cpan.org/perldoc?%s

When you type "perldoc Module::Name", it will take you directly to the docs.

However, you must provide an exact name. No search on partial matches is provided.

Update Removed a spurious "=" sign from the URL. Thanks ewijava.

Replies are listed 'Best First'.
Re^2: Opera + Firefox browser Shortcut for searching CPAN
by monkfan (Curate) on Apr 13, 2005 at 09:04 UTC
    Have you tested it? Accessing perldoc of a module in CPAN is done via authors directory. Hence your solution will fail.

    Alternatively this is the snippet to access perldoc.com website. Applicable for both Opera and Firefox.
    http://www.perldoc.com/cgi-bin/htsearch?words=%s&restrict=perl5.8.4
    Regards,
    Edward
        Have you tested it?
        Yes. I have.
        In that case a modification need to be made for dbwiz's snippet (note the removed '=' sign):
        URL=http://search.cpan.org/perldoc?%s
        Then it'll work. Thanks for notifiying, PodMaster.
        Regards,
        Edward

        Contrary to the search form at http://search.cpan.org, the redirection above appears to be case sensitive. E.g.

        http://search.cpan.org/perldoc?cgi
        fails.

        the lowliest monk