3 perl582delta - what is new for perl v5.8.2
7 This document describes differences between the 5.8.1 release and
10 If you are upgrading from an earlier release such as 5.6.1, first read
11 the L<perl58delta>, which describes differences between 5.6.0 and
12 5.8.0, and the L<perl581delta>, which describes differences between
15 =head1 Incompatible Changes
17 For threaded builds for modules calling certain re-entrant system calls,
18 binary compatibility was accidentally lost between 5.8.0 and 5.8.1.
19 Binary compatibility with 5.8.0 has been restored in 5.8.2, which
20 necessitates breaking compatibility with 5.8.1. We see this as the
23 This will only affect people who have a threaded perl 5.8.1, and compiled
24 modules which use these calls, and now attempt to run the compiled modules
25 with 5.8.2. The fix is to re-compile and re-install the modules using 5.8.2.
27 =head1 Core Enhancements
29 =head2 Hash Randomisation
31 The hash randomisation introduced with 5.8.1 has been amended. It
32 transpired that although the implementation introduced in 5.8.1 was source
33 compatible with 5.8.0, it was not binary compatible in certain cases. 5.8.2
34 contains an improved implementation which is both source and binary
35 compatible with both 5.8.0 and 5.8.1, and remains robust against the form of
36 attack which prompted the change for 5.8.1.
38 We are grateful to the Debian project for their input in this area.
39 See L<perlsec/"Algorithmic Complexity Attacks"> for the original
40 rationale behind this change.
44 Several memory leaks associated with variables shared between threads
47 =head1 Modules and Pragmata
49 =head2 Updated Modules And Pragmata
51 The following modules and pragmata have been updated since Perl 5.8.1:
69 Documentation improved
73 Documentation improved
77 =item Unicode::Collate
79 =item Unicode::Normalize
83 Documentation improved
87 =head1 Selected Bug Fixes
89 Some syntax errors involving unrecognized filetest operators are now handled
90 correctly by the parser.
92 =head1 Changed Internals
94 Interpreter initialization is more complete when -DMULTIPLICITY is off.
95 This should resolve problems with initializing and destroying the Perl
96 interpreter more than once in a single process.
98 =head1 Platform Specific Problems
100 Dynamic linker flags have been tweaked for Solaris and OS X, which should
101 solve problems seen while building some XS modules.
103 Bugs in OS/2 sockets and tmpfile have been fixed.
105 In OS X C<setreuid> and friends are troublesome - perl will now work
106 around their problems as best possible.
108 =head1 Future Directions
110 Starting with 5.8.3 we intend to make more frequent maintenance releases,
111 with a smaller number of changes in each. The intent is to propagate
112 bug fixes out to stable releases more rapidly and make upgrading stable
113 releases less of an upheaval. This should give end users more
114 flexibility in their choice of upgrade timing, and allow them easier
115 assessment of the impact of upgrades. The current plan is for code freezes
122 5.8.3 23:59:59 GMT, Wednesday December 31st 2003
126 5.8.4 23:59:59 GMT, Wednesday March 31st 2004
130 5.8.5 23:59:59 GMT, Wednesday June 30th 2004
134 with the release following soon after, when testing is complete.
136 See L<perl581delta/"Future Directions"> for more soothsaying.
138 =head1 Reporting Bugs
140 If you find what you think is a bug, you might check the articles
141 recently posted to the comp.lang.perl.misc newsgroup and the perl
142 bug database at http://bugs.perl.org/. There may also be
143 information at http://www.perl.com/, the Perl Home Page.
145 If you believe you have an unreported bug, please run the B<perlbug>
146 program included with your release. Be sure to trim your bug down
147 to a tiny but sufficient test case. Your bug report, along with the
148 output of C<perl -V>, will be sent off to perlbug@perl.org to be
149 analysed by the Perl porting team. You can browse and search
150 the Perl 5 bugs at http://bugs.perl.org/
154 The F<Changes> file for exhaustive details on what changed.
156 The F<INSTALL> file for how to build Perl.
158 The F<README> file for general stuff.
160 The F<Artistic> and F<Copying> files for copyright information.