in reply to migrate cpan from AIX to Red Hat
find /usr/lib/perl5 -name \*.pm | xargs yum whatprovides
will not work because the prefix will be different. But it is a good idea. dists can be named differently to modules.
I thought of using CPAN or a simple script like instmodsh (from ExtUtils::Installed) to get the list of your modules, and then mangle the names to find the rpm's.
perldoc ExtUtils::Installed
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: migrate cpan from AIX to Red Hat
by sazo (Novice) on Jul 31, 2013 at 08:36 UTC | |
by sazo (Novice) on Jul 31, 2013 at 08:44 UTC | |
Re^2: migrate cpan from AIX to Red Hat
by sazo (Novice) on Jul 31, 2013 at 08:08 UTC |
In Section
Seekers of Perl Wisdom