Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: How to effectively update perl modules which are installed in my homedir

by Anonymous Monk
on Apr 05, 2011 at 13:56 UTC ( #897513=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://897513]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2019-03-26 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (125 votes). Check out past polls.

    Notices?