http://qs321.pair.com?node_id=1047028

sazo has asked for the wisdom of the Perl Monks concerning the following question:

Hi! I need to migrate CPAN environment (3000+ modules) from AIX to Redhat preferably using rpm packages from RH, EPEL, Fedora repositories. I am thinking of a solution to collect all the .pm filenames in a textfile list which would be processed line-by-line using "yum whatprovides *...pm" on Redhat to extract the rpm-package names the given .pm belongs to and then to build a list of the rpm packages needed to be installed. Does anyone have a better/more elegant idea how to realise that. I am trying to avoid to recompile the packages, hence the use of autobundle.