in reply to Re^2: How to effectively update perl modules which are installed in my homedir
in thread How to effectively update perl modules which are installed in my homedir

It will do what it says it will do, print you a list, which you can iterate over, then filter by location
$ perl -MCGI -le " print for grep /CGI.pm/, values %INC" C:/perl/5.12.2/lib/CGI.pm $ perldoc -l CGI C:\perl\5.12.2\lib\CGI.pm
  • Comment on Re^3: How to effectively update perl modules which are installed in my homedir
  • Download Code

Replies are listed 'Best First'.
Re^4: How to effectively update perl modules which are installed in my homedir
by slatibart (Sexton) on Apr 05, 2011 at 14:33 UTC
    It works for root Modules but if you have something like that it will not work.

    perl -MYAML::Base -le " print for grep /YAML::Base.pm/, values %INC"

      values are paths, not module names
Re^4: How to effectively update perl modules which are installed in my homedir
by slatibart (Sexton) on Apr 05, 2011 at 14:04 UTC
    Thanks, my problem is now that i have trouble with upgrading the CPAN Bundle but that is a different story then.