David Filmer posted a snazzy Firefox trick that puts a CPAN search in the search dropdown in Firefox. Works wonderfully.
Searching CPAN from Firefox
8 Comments
Leave a comment
Perlbuzz
- Perlbuzz news roundup for 2010-01-07
- Devel::NYTProf 3.0 is out, more mindblowing than ever
- Perlbuzz news roundup for 2009-12-22
- Perlbuzz news roundup for 2009-12-08
- Advent calendars galore
- Christmas brings the RJBS Advent Calendar
- Perl gets modern community blogging platform at blogs.perl.org
- Perlbuzz news roundup for 2009-11-17
- perl.org gets a beautiful upgrade
- The horrible bug your command line Perl program probably has
Mechanix
- Cool vim plugin of the day: surround.vim
- When to use JPEG, when to use PNG
- Git is my hero
- Downloading video with Awk
- Creating Excel files with Perl
- Scrabble cheating with Perl one-liners
- Use Getopt::Long even if you don't think you need to
- Pragmatic Programmer on estimating
- How to write a simple database-backed website with Perl modules Mason and Class::DBI
- Optimizing file searches with File::Find::Rule
The Working Geek
- Use Google Alerts to monitor your online presence
- The Working Geek news roundup for 2010-01-07
- "Effective Interviewing From Both Sides of the Desk" at the Chicago Nerd Social Club, 1/21/2010
- The Working Geek news roundup for 2009-12-08
- How to keep a job you don't love
- The Working Geek news roundup for 2009-11-17
- How to show open source experience in your job hunt
- Life as a woman in telecom
- The Working Geek news roundup for 2009-09-02
- How to boost your career by contributing to open source projects
Search
Contact
- Email andy@petdance.com
- Twitter Perlbuzz
Other Perl Sites
- Rakudo.org, home of Rakudo Perl 6
- Modern Perl
- Proud To Use Perl
- The official Perl wikis
- News at The Perl Foundation
- use.perl.org
- jobs.perl.org
- Perlcast, the Perl podcast
- Yet Another Perl Game Hacker
Archives
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
I like to keep the search box just for Google, because the rest involves visual interaction (you can't just hit a bunch of keys, but have to visually verify that you're selecting what you think you are).
Fortunately, Firefox has had another very useful feature for ages, bookmark keywords. Bookmark http://search.cpan.org/search?mode=all&query=%s (yes, a literal %s), and give the bookmark a keyword of "cpan". Then you can just type "cpan dbix" in the *address bar* to search CPAN for "dbix".
Yeah, I like the keyword bookmarks, too. For a while, I had "cpan" for an "All" search, "cpanmod" for just module name, and so on.
A similar technique can be used with Safari on Mac OS X and the Inquisitor search add-on by David Watanbe ( http://www.inquisitorx.com/ ). I do this for both search.cpan.org and and perldoc.perl.org.
wow =)
here's how to do that in Opera (Opera haters stop reading here):
Go to search.cpan.org, right-click on the search field and click "Create Search". Type in a nickname, e.g. "cp". Click Ok.
Now you can do a cpan search just by typing "cp DBI" into the addressline. No mouse involved for searching =)
Probably easier to just install one from here: http://mycroft.mozdev.org/download.html?name=cpan
There are a couple there for perldoc as well.
Hey,
back in the day, I created a Google custom search engine instance for all things Perl. You can access it http://perl.idaru.co.uk
It already offers a Firefox quick search dropdown and you can additionally filter the results you get from one of the pre-defined labels (Usenet, CPAN, documentation etc).
I hope somebody else finds this useful, it has saved me from going to Google and manually looking for something numerous times. Suggestions on how to improve it are more than welcome.
After some correction of the XML, I installed it in /usr/lib/firefox/searchplugins/.
But how do I actually invoke it from within Firefox? Much to my surprise, when I google for "Firefox plugins" nothing comes up which tells me how to *use* plugins that are manually installed like this one.
I've added a comment to the original usenet post about the benefits of Google Suggest, and how to add them to your own search plugins.
It's one thing I don't think you can do with the location bar search keywords.
Full story here:
http://groups.google.com/group/comp.lang.perl.misc/msg/1da27bbebd9bad66