grinnz / app-migratemodules Goto Github PK
View Code? Open in Web Editor NEWperl-migrate-modules - Migrate installed CPAN modules from one Perl to another
Home Page: https://metacpan.org/pod/perl-migrate-modules
License: Other
perl-migrate-modules - Migrate installed CPAN modules from one Perl to another
Home Page: https://metacpan.org/pod/perl-migrate-modules
License: Other
Some single-letter options do not seem to be handled correctly. See examples below.
#
# Option --version works as expected:
#
$ perl-migrate-modules --version
/xxxx/xxx/locperl/bin/perl-migrate-modules version 0.004
(Getopt::Long::GetOptions version 2.52; Perl version 5.36.0)
#
# Option --help works as expected:
#
GC$> perl-migrate-modules --help
Usage:
perl-migrate-modules [OPTIONS] [<src-perl>] <dest-perl>
perl-migrate-modules /path/to/perl-5.28.0 /path/to/perl-5.28.1
perl-migrate-modules -nq -Ilib /usr/bin/perl ~/bin/perl
perl-migrate-modules --from ~/perl5/lib/perl5 ~/perls/5.20.0
Options:
-c, --include-core Install core modules from source Perl
-h, --help Show this message
-f <path>, --from=<path> Search only these path(s) for source modules
-I <path>, --lib=<path> Additional search path(s) for source modules
-n, --notest Skip testing and test dependencies
-q, --quiet Show only installation successes and failures
-v, --version Show the version of this script
#
# But invoking the same options via -v or -h results in a diagnostic:
#
$ perl-migrate-modules -v
Unknown option: v
Invalid options passed
$ perl-migrate-modules -h
Unknown option: h
Invalid options passed
#
# Otoh, option -q seems to work:
#
$ perl-migrate-modules -q /foo /bar
Could not find perl executable at /foo
I got this when running a --from command from an old ~/perl5 to a new one as a user:
perl-migrate-modules --from ~/perl5 usr/pkg/bin/perl
Shared system, I don't have sudo, so I have my local.
I'm trying to migrate a bunch of local::libs after an upgrade, so I was a bit surprised when this tool didnt default to "put the updated modules in the 'from' path" .. any reason why not?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.