Most of the pure-Perl modules are likely to work (that is, those without XS (binary) components). Perl code is nearly always perfectly forward-compatible.

On the other hand, any modules that contain XS extensions will need to be reinstalled. This is because the binary interface is the same across the entire version 5.6 version (5.6.0 to 5.6.2) different for 5.8 (5.8.0 to 5.8.8), and will change again in 5.10.

Such modules are installed in different directories (specifically in a .../mach directory). You can find out how many such directories there are with the following one-liner:

perl -le 'print for grep {m(/mach$)} @INC'

All of the modules found there will need to be audited to see if you are using them. Those that are will need to be recompiled and installed. Slightly more brute force is to list all the *.pm files found therein:

find `perl -le 'print for grep {m(/mach$)} @INC'` -name '*.pm'

The results aren't as bad as you might think. For instance, the Encode distribution contains 22 different modules that will be installed under /mach.

• another intruder with the mooring in the heart of the Perl


In reply to Re: upgrade from 5.6.1 to 5.8 by grinder
in thread upgrade from 5.6.1 to 5.8 by raja.b4u

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.