2 ms·
It seems that the Perl community isn't afraid of tiny, single-purpose modules. Take File::Which for instance. [0] It has just to functions used to find executab
by jevinskie 13y ago
It seems that the Perl community isn't afraid of tiny, single-purpose modules. Take File::Which for instance. [0] It has just to functions used to find executables in your path. I like the idea of using a library. While the logic itself is pretty simple, there are some corner-cases that come up between various OSes. I'll save myself the hassle and use the library instead of writing it myself. Plus, once it is in a library you can get rid of the 5 copies throughout your various projects.
[0]: http://search.cpan.org/~adamk/File-Which-1.09/lib/File/Which.pm http://search.cpan.org/~adamk/File-Which-1.09/lib/File/Which...