in reply to How to effectively update perl modules which are installed in my homedir

 
$ perldoc cpan |grep -i update
 
$ perldoc cpan |grep -i upgrade
 
$ perldoc cpan |grep -i date
        Show the module details. This prints one line for each out-of-date
    -O Show the out-of-date modules.
    up-to-date and Changes features.
  • Comment on Re: How to effectively update perl modules which are installed in my homedir

Replies are listed 'Best First'.
Re^2: How to effectively update perl modules which are installed in my homedir
by slatibart (Sexton) on Apr 05, 2011 at 13:50 UTC
    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.)
      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
        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"

        Thanks, my problem is now that i have trouble with upgrading the CPAN Bundle but that is a different story then.