perl-migrate-modules - Migrate installed CPAN modules from one Perl to another
perl-migrate-modules [OPTIONS] <src-path> <dest-path> perl-migrate-modules /path/to/perl-5.28.0 /path/to/perl-5.28.1 perl-migrate-modules -nq /usr/bin/perl ~/bin/perl Options: -h, --help Show this message -n, --notest Skip testing and test dependencies -q, --quiet Show only installation successes and failures -v, --version Show the version of this script
Reinstalls all modules found in the source Perl into the destination Perl, similar to the clone-modules command for perlbrew or the migrate-modules command for plenv. The Perls may be passed as paths to the base installation directory or paths to the perl executable itself.
clone-modules
migrate-modules
Only modules with .packlist will be migrated, this will include any module installed by CPAN clients, but generally not modules installed by vendor packages or core modules.
Migrated modules will be installed at their latest indexed version, not the version that exists in the source Perl.
Report any issues on the public bugtracker.
Dan Book <dbook@cpan.org>
This software is Copyright (c) 2018 by Dan Book.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
"COMMAND: CLONE-MODULES" in perlbrew
To install App::MigrateModules, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::MigrateModules
CPAN shell
perl -MCPAN -e shell install App::MigrateModules
For more information on module installation, please visit the detailed CPAN module installation guide.