Well, it started as a place for middleware notes, tips and tricks, but really, this is a place for me to list out some of the general notes, etc I have for myself. If anyone else finds them useful... Great! If not, at least I have a clipboard of solutions for me...
Friday, March 12, 2010
How can I tell if a perl module is installed?
TO LOOK FOR A SPECIFIC MODULE:
find `perl -e '{print join $/, grep {/[^.]/} @INC}'` -name '*pm' 2>/dev/null |grep -i <>
where <> is the name of the module you are looking for
TO LIST ALL INSTALLED MODULES:
find `perl -e '{print join $/, grep {/[^.]/} @INC}'` -name '*pm' 2>/dev/null
No comments:
Post a Comment