Personally, I would leave the perl that came with my system alone and install a second perl parallel to it, but if RedHat distributes RPMs for upgrading, possibly they have tested them against their system utilities.
The CPAN.pm module has a feature called "autobundle", that you can use to reinstall any modules that you want to transfer from the old installation to the new installation - if you still have the old perl (5.8.0) available and running.
perl5.8.0 -MCPAN -eautobundle
If you don't have your old perl anymore, you will have to do some shell/Perl trickery to get the interesting files out of /usr/perl/site/lib/5.8.0/ or wherever your Perl modules have been installed into:
#!/bin/bash
find /usr/perl/site/lib/5.8.0 -name '*.pm' | \
perl -pe 's!/!::!g; s!\.pm$!!'
The resulting list should be a (overly big) list of all modules, and you can then let CPAN.pm loose on that list. Not all modules will be found, and you will install many modules more than one time, and the list won't be ordered according to the prerequisites, but at least in the end you should have all modules back. |