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.


In reply to Re: Re: HTML::Form->parse() fails under 5.8.1 by Corion
in thread HTML::Form->parse() fails under 5.8.1 by dda

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.