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

Hi
Could Anyone provide me the "Major changes" in release versions of perl 5.6.1 and perl 5.8.7.

Thanx in Advance.
Sneha Latha
  • Comment on Major changes between release versions of perl v5.6.1 and perlv5.8.7.

Replies are listed 'Best First'.
Re: Major changes between release versions of perl v5.6.1 and perlv5.8.7.
by bart (Canon) on Oct 06, 2006 at 11:19 UTC
    I'll just give you my personaly opinion...

    The major change between 5.6.x and 5.8.x is the way Perl handles UTF8. The "IO layers". Perl 5.8.x will, by default, do an automatic translation between the internal character set (either ISO-Latin-1 as bytes, or UTF-8, commonly), and the character set your file handle is bound to — on most systems that is Latin-1. Perl 5.6.x didn't do that at all. And I'm not convinced whether I really like the behaviour, of either, the old and the new.

    Anyway, recommended reading is, in short:

    Anyway, that's the reason why you can get new warnings on Perl 5.8.x that you never had on Perl 5.6.x, something like "output of a wide character" (I should check the exact phrasing when I have access to a modern Perl, later today), when the target character set doesn't contain a translation for some Unicode character, and thus, the conversion fails.

    update The exact phrasing of the warning is "Wide character in print". Well, I think I was pretty close.

Re: Major changes between release versions of perl v5.6.1 and perlv5.8.7.
by ambrus (Abbot) on Oct 06, 2006 at 10:08 UTC
Re: Major changes between release versions of perl v5.6.1 and perlv5.8.7.
by davorg (Chancellor) on Oct 06, 2006 at 10:10 UTC
Re: Major changes between release versions of perl v5.6.1 and perlv5.8.7.
by jwkrahn (Abbot) on Oct 06, 2006 at 10:12 UTC