In cpan shell, only /regexp/ or all modules can be upgrade, if I want to upgrade modules only installed by CPAN,how to do?
Perl – How to upgrade perl modules that install from CPAN
cpanperlupgrade
Related Topic
- Perl – How to update all the CPAN modules to their latest versions
- Node.js – Upgrading Node.js to latest version
- Node.js – Upgrade Node.js to the latest version on Mac OS
- Windows – How to upgrade Git on Windows to the latest version
- Python – How to update\upgrade pip itself from inside the virtual environment
Best Answer
I suggest you using cpanm "family" script for perl modules management.
Install cpanm
curl -L http://cpanmin.us | perl - --sudo App::cpanminus
Upgrade
cpanm
cpanm --self-upgrade --sudo
Install cpan-outdated
cpanm App::cpanoutdated
For example, only my notebook gives the result like:
Run cpan-outdated & upgrade modules
cpan-outdated -p | cpanm
Changes
If you want see what is changed (Change-log), you can try install cpan-listchanges
cpanm App::cpanlistchanges
cpan-listchanges Plack
- too see what's changed in Plack between your local and the latest on CPAN