You Need a Tool to Search Inside Your Standard Library
Today, programming languages have so much big standard libraries that it’s a pain to know everything: one of my programming teacher (a C and C++ addict) told me that the thing that hurts him with Java and .Net was the huge standard library and the difficulty of having a good knowledge of these toolkits. Maybe he was not wrong, and that documentation is sometimes a kind of unusable garbage, or even disappearing (for example when Oracle moved everything about Java to random locations).
However, it can be a bigger pain to re-write something that already exists than to learn and build easy tools to search for informations inside your standard library. A tool that allow to search for common modules names (like URI manipulation or JSON or IO, anything), it’s sometime too long to search on metacpan.org and on perl.org when you just need to
use something in your code. This problem comes also from my bad (human) memory, I can’t remember all these tools that I used only a few times. I can even less remember oneliners whith more than 20 chars…
` … is maybe a possible solution to search for modules, but it is hard to remember.
I wondered how I could display all the modules installed on my machine (most of the time, you don’t need a new module). So after a search, I found something that makes possible to display all the modules on my machine (standard or user-installed modules, AKA
The only thing that were missing was a kind of searchability. As I was too lazy and shy to try to extend
App::Module::Lister, I’ve just wrote some configuration in my
First install App::Module::Lister…
1 2 3 4 5 6 7
…then in .bashrc, add the following…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
.bashrc, and you now got a nice modules local search-engine based on
1 2 3 4 5 6 7 8