eTechtips

Tech Tips and Insights

Perl find location of a library

/

If 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.

Loading

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.