Perldoc Search Suggestions

stu42j on 2007-06-08T20:32:23

In my daily programming, I frequently search the perldocs from the Firefox search box (even though a Perl Pocket Reference sits on my desk). When you start typing a search query for Google you get suggestions on what you might be typing. This is often useful and occasionally amusing.

Wouldn't it be nice if you could get suggestions when searching perldoc too? It turns out to be pretty easy to setup. To get started, I took the functions list and pushed it into an SQLite db. Then wrote a short script to output the required JSON.

You can install the end result from Mycroft. I'm not sure it is particularly helpful but it was an interesting little diversion.