Perl find location of a library
Friday, December 24th, 2010If you are not sure of the location of where a library is being included from in Perl you can use the following command:
perl -MXML::SAX -le 'print $INC{"XML/SAX.pm"}'
This search is for the XML::SAX library and it displays the location of the SAX.pm file.