1PERL585DELTA(1)        Perl Programmers Reference Guide        PERL585DELTA(1)
2
3
4

NAME

6       perl585delta - what is new for perl v5.8.5
7

DESCRIPTION

9       This document describes differences between the 5.8.4 release and the
10       5.8.5 release.
11

Incompatible Changes

13       There are no changes incompatible with 5.8.4.
14

Core Enhancements

16       Perl's regular expression engine now contains support for matching on
17       the intersection of two Unicode character classes. You can also now
18       refer to user-defined character classes from within other user defined
19       character classes.
20

Modules and Pragmata

22       ·   Carp improved to work nicely with Safe. Carp's message reporting
23           should now be anomaly free - it will always print out line number
24           information.
25
26       ·   CGI upgraded to version 3.05
27
28       ·   charnames now avoids clobbering $_
29
30       ·   Digest upgraded to version 1.08
31
32       ·   Encode upgraded to version 2.01
33
34       ·   FileCache upgraded to version 1.04
35
36       ·   libnet upgraded to version 1.19
37
38       ·   Pod::Parser upgraded to version 1.28
39
40       ·   Pod::Perldoc upgraded to version 3.13
41
42       ·   Pod::LaTeX upgraded to version 0.57
43
44       ·   Safe now works properly with Carp
45
46       ·   Scalar-List-Utils upgraded to version 1.14
47
48       ·   Shell's documentation has been re-written, and its historical
49           partial auto-quoting of command arguments can now be disabled.
50
51       ·   Test upgraded to version 1.25
52
53       ·   Test::Harness upgraded to version 2.42
54
55       ·   Time::Local upgraded to version 1.10
56
57       ·   Unicode::Collate upgraded to version 0.40
58
59       ·   Unicode::Normalize upgraded to version 0.30
60

Utility Changes

62   Perl's debugger
63       The debugger can now emulate stepping backwards, by restarting and
64       rerunning all bar the last command from a saved command history.
65
66   h2ph
67       h2ph is now able to understand a very limited set of C inline functions
68       -- basically, the inline functions that look like CPP macros. This has
69       been introduced to deal with some of the headers of the newest versions
70       of the glibc. The standard warning still applies; to quote h2ph's
71       documentation, you may need to dicker with the files produced.
72

Installation and Configuration Improvements

74       Perl 5.8.5 should build cleanly from source on LynxOS.
75

Selected Bug Fixes

77       ·   The in-place sort optimisation introduced in 5.8.4 had a bug. For
78           example, in code such as
79
80               @a = sort ($b, @a)
81
82           the result would omit the value $b. This is now fixed.
83
84       ·   The optimisation for unnecessary assignments introduced in 5.8.4
85           could give spurious warnings. This has been fixed.
86
87       ·   Perl should now correctly detect and read BOM-marked and (BOMless)
88           UTF-16 scripts of either endianness.
89
90       ·   Creating a new thread when weak references exist was buggy, and
91           would often cause warnings at interpreter destruction time. The
92           known bug is now fixed.
93
94       ·   Several obscure bugs involving manipulating Unicode strings with
95           "substr" have been fixed.
96
97       ·   Previously if Perl's file globbing function encountered a directory
98           that it did not have permission to open it would return
99           immediately, leading to unexpected truncation of the list of
100           results. This has been fixed, to be consistent with Unix shells'
101           globbing behaviour.
102
103       ·   Thread creation time could vary wildly between identical runs. This
104           was caused by a poor hashing algorithm in the thread cloning
105           routines, which has now been fixed.
106
107       ·   The internals of the ithreads implementation were not checking if
108           OS-level thread creation had failed. threads->create() now returns
109           "undef" in if thread creation fails instead of crashing perl.
110

New or Changed Diagnostics

112       ·   Perl -V has several improvements
113
114           ·   correctly outputs local patch names that contain embedded code
115               snippets or other characters that used to confuse it.
116
117           ·   arguments to -V that look like regexps will give multiple lines
118               of output.
119
120           ·   a trailing colon suppresses the linefeed and ';'  terminator,
121               allowing embedding of queries into shell commands.
122
123           ·   a leading colon removes the 'name=' part of the response,
124               allowing mapping to any name.
125
126       ·   When perl fails to find the specified script, it now outputs a
127           second line suggesting that the user use the "-S" flag:
128
129               $ perl5.8.5 missing.pl
130               Can't open perl script "missing.pl": No such file or directory.
131               Use -S to search $PATH for it.
132

Changed Internals

134       The Unicode character class files used by the regular expression engine
135       are now built at build time from the supplied Unicode consortium data
136       files, instead of being shipped prebuilt. This makes the compressed
137       Perl source tarball about 200K smaller. A side effect is that the
138       layout of files inside lib/unicore has changed.
139

Known Problems

141       The regression test t/uni/class.t is now performing considerably more
142       tests, and can take several minutes to run even on a fast machine.
143

Platform Specific Problems

145       This release is known not to build on Windows 95.
146

Reporting Bugs

148       If you find what you think is a bug, you might check the articles
149       recently posted to the comp.lang.perl.misc newsgroup and the perl bug
150       database at http://bugs.perl.org.  There may also be information at
151       http://www.perl.org, the Perl Home Page.
152
153       If you believe you have an unreported bug, please run the perlbug
154       program included with your release.  Be sure to trim your bug down to a
155       tiny but sufficient test case.  Your bug report, along with the output
156       of "perl -V", will be sent off to perlbug@perl.org to be analysed by
157       the Perl porting team.  You can browse and search the Perl 5 bugs at
158       http://bugs.perl.org/
159

SEE ALSO

161       The Changes file for exhaustive details on what changed.
162
163       The INSTALL file for how to build Perl.
164
165       The README file for general stuff.
166
167       The Artistic and Copying files for copyright information.
168
169
170
171perl v5.16.3                      2013-02-26                   PERL585DELTA(1)
Impressum