Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by slatibart (Acolyte)
on Apr 05, 2011 at 13:50 UTC ( #897512=note: print w/ replies, xml ) Need Help??


in reply to Re: 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

This option is relative new ? At least cpan shell v1.7602 does not know about it.

But anyway. I think this will print ALL modules which needs to be updated and not the ones which are in my local homedir ? (Couldn't test it yet.)


Comment on Re^2: How to effectively update perl modules which are installed in my homedir
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
    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
      Thanks, my problem is now that i have trouble with upgrading the CPAN Bundle but that is a different story then.
      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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (18)
As of 2014-09-30 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (383 votes), past polls