in reply to Module installed Path

I've found the shell script by jhourcle at Re: Which module did I load? very helpful. It not only tells you which of multiple copies in your @INC path is the module perl is using, it gives you the version number and the other modules that will be loaded with it. Here's his sample invocation and partial output, copied from the node in the link.
$ whichpm CGI CGI.pm : /System/Library/Perl/5.8.6/CGI.pm CGI/Util.pm : /System/Library/Perl/5.8.6/CGI/Util.pm Carp.pm : /System/Library/Perl/5.8.6/Carp.pm ...

Replies are listed 'Best First'.
Re^2: Module installed Path
by ferreira (Chaplain) on Mar 06, 2007 at 12:04 UTC

    You may try which_pm as well. It comes with Module-Which distribution and also shows the module version number.

    $ which_pm CGI CGI 3.15 /usr/local/lib/perl5/5.8.8/CGI.pm $ which_pm CGI:: --p5p CGI::Cookie 1.26 at ${installprivlib}/ CGI::Util 1.5 at ${installprivlib}/ CGI::Pretty 1.08 at ${installprivlib}/ CGI::Carp 1.29 at ${installprivlib}/ CGI::Push 1.04 at ${installprivlib}/ CGI::Switch 1.00 at ${installprivlib}/ CGI::Apache 1.00 at ${installprivlib}/ CGI::Fast 1.05 at ${installprivlib}/ CGI::Session 4.20_1 at ${installsitelib}/ CGI::Session::Driver 4.20 at ${installsitelib}/ [SNIP] from Config: installprivlib: /usr/local/lib/perl5/5.8.8 installsitelib: /usr/local/lib/perl5/site_perl/5.8.8