There haven't been many wide-sweeping changes between 5.8 and 5.22 that would immediately break your program.

The most obvious changes would be the much better handling of Unicode.

The annoying stuff for migrating to a new Perl version is that you need to collect all the missing prerequisites that likely have accumulated in your old Perl installation. I keep track of my prerequisites in a Makefile.PL even if I don't intend to distribute the software ever. This makes reinstallation of all prerequisites as easy as:

cpanm --installdeps .

You can test the migration to a new version of Perl by installing a separate version of Perl using perlbrew. That way, you have a low risk of ruining your existing installation.


In reply to Re: Upgrading Perl 5.8 program to 5.22 by Corion
in thread [SOLVED]:Upgrading Perl 5.8 program to 5.22 by $h4X4_|=73}{

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.