cpan-outdated - detect outdated CPAN modules in your environment
# print the list of distribution that contains outdated modules % cpan-outdated # print the list of outdated modules in packages % cpan-outdated -p # verbose % cpan-outdated --verbose # alternate mirrors % cpan-outdated --mirror file:///home/user/minicpan/ # additional module path(same as cpanminus) % cpan-outdated -l extlib/ % cpan-outdated -L extlib/ # install with cpan % cpan-outdated | xargs cpan -i # install with cpanm % cpan-outdated | cpanm % cpan-outdated -p | cpanm
This script prints the list of outdated CPAN modules in your machine.
It's same feature of 'CPAN::Shell->r', but cpan-outdated is much faster and uses less memory.
cpan-outdated
This script can be integrated with cpanm command.
This script by default prints the outdated distribution as in the CPAN distro format, i.e: A/AU/AUTHOR/Distribution-Name-0.10.tar.gz so you can pipe into CPAN installers, but with -p option it can be twaked to print the module's package names.
A/AU/AUTHOR/Distribution-Name-0.10.tar.gz
-p
For some tools such as cpanm installing from packages could be a bit more useful since you can track to see the old version number where you upgrade from.
Tokuhiro Matsuno
Copyright (C) 2009 Tokuhiro Matsuno.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
CPAN
App::cpanminus
If you want to see what's changed for modules that require upgrades, use cpan-listchanges
To install App::cpanoutdated, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::cpanoutdated
CPAN shell
perl -MCPAN -e shell install App::cpanoutdated
For more information on module installation, please visit the detailed CPAN module installation guide.