1PERL5141DELTA(1) Perl Programmers Reference Guide PERL5141DELTA(1)
2
3
4
6 perl5141delta - what is new for perl v5.14.1
7
9 This document describes differences between the 5.14.0 release and the
10 5.14.1 release.
11
12 If you are upgrading from an earlier release such as 5.12.0, first read
13 perl5140delta, which describes differences between 5.12.0 and 5.14.0.
14
16 No changes since 5.14.0.
17
19 No changes since 5.14.0.
20
22 There are no changes intentionally incompatible with 5.14.0. If any
23 exist, they are bugs and reports are welcome.
24
26 There have been no deprecations since 5.14.0.
27
29 New Modules and Pragmata
30 None
31
32 Updated Modules and Pragmata
33 • B::Deparse has been upgraded from version 1.03 to 1.04, to address
34 two regressions in Perl 5.14.0:
35
36 Deparsing of the "glob" operator and its diamond ("<>") form now
37 works again. [perl #90898]
38
39 The presence of subroutines named "::::" or "::::::" no longer
40 causes B::Deparse to hang.
41
42 • Pod::Perldoc has been upgraded from version 3.15_03 to 3.15_04.
43
44 It corrects the search paths on VMS. [perl #90640]
45
46 Removed Modules and Pragmata
47 None
48
50 New Documentation
51 None
52
53 Changes to Existing Documentation
54 perlfunc
55
56 • "given", "when" and "default" are now listed in perlfunc.
57
58 • Documentation for "use" now includes a pointer to if.pm.
59
60 perllol
61
62 • perllol has been expanded with examples using the new "push
63 $scalar" syntax introduced in Perl 5.14.0.
64
65 perlop
66
67 • The explanation of bitwise operators has been expanded to explain
68 how they work on Unicode strings.
69
70 • The section on the triple-dot or yada-yada operator has been moved
71 up, as it used to separate two closely related sections about the
72 comma operator.
73
74 • More examples for "m//g" have been added.
75
76 • The "<<\FOO" here-doc syntax has been documented.
77
78 perlrun
79
80 • perlrun has undergone a significant clean-up. Most notably, the
81 -0x... form of the -0 flag has been clarified, and the final
82 section on environment variables has been corrected and expanded.
83
84 POSIX
85
86 • The invocation documentation for "WIFEXITED", "WEXITSTATUS",
87 "WIFSIGNALED", "WTERMSIG", "WIFSTOPPED", and "WSTOPSIG" was
88 corrected.
89
91 The following additions or changes have been made to diagnostic output,
92 including warnings and fatal error messages. For the complete list of
93 diagnostic messages, see perldiag.
94
95 New Diagnostics
96 None
97
98 Changes to Existing Diagnostics
99 None
100
102 None
103
105 • regexp.h has been modified for compatibility with GCC's "-Werror"
106 option, as used by some projects that include perl's header files.
107
109 • Some test failures in dist/Locale-Maketext/t/09_compile.t that
110 could occur depending on the environment have been fixed. [perl
111 #89896]
112
113 • A watchdog timer for t/re/re.t was lengthened to accommodate SH-4
114 systems which were unable to complete the tests before the previous
115 timer ran out.
116
118 New Platforms
119 None
120
121 Discontinued Platforms
122 None
123
124 Platform-Specific Notes
125 Solaris
126
127 • Documentation listing the Solaris packages required to build Perl
128 on Solaris 9 and Solaris 10 has been corrected.
129
130 Mac OS X
131
132 • The lib/locale.t test script has been updated to work on the
133 upcoming Lion release.
134
135 • Mac OS X specific compilation instructions have been clarified.
136
137 Ubuntu Linux
138
139 • The ODBM_File installation process has been updated with the new
140 library paths on Ubuntu natty.
141
143 • The compiled representation of formats is now stored via the mg_ptr
144 of their PERL_MAGIC_fm. Previously it was stored in the string
145 buffer, beyond SvLEN(), the regular end of the string. SvCOMPILED()
146 and SvCOMPILED_{on,off}() now exist solely for compatibility for XS
147 code. The first is always 0, the other two now no-ops.
148
150 • A bug has been fixed that would cause a "Use of freed value in
151 iteration" error if the next two hash elements that would be
152 iterated over are deleted. [perl #85026]
153
154 • Passing the same constant subroutine to both "index" and "formline"
155 no longer causes one or the other to fail. [perl #89218]
156
157 • 5.14.0 introduced some memory leaks in regular expression character
158 classes such as "[\w\s]", which have now been fixed.
159
160 • An edge case in regular expression matching could potentially loop.
161 This happened only under "/i" in bracketed character classes that
162 have characters with multi-character folds, and the target string
163 to match against includes the first portion of the fold, followed
164 by another character that has a multi-character fold that begins
165 with the remaining portion of the fold, plus some more.
166
167 "s\N{U+DF}" =~ /[\x{DF}foo]/i
168
169 is one such case. "\xDF" folds to "ss".
170
171 • Several Unicode case-folding bugs have been fixed.
172
173 • The new (in 5.14.0) regular expression modifier "/a" when repeated
174 like "/aa" forbids the characters outside the ASCII range that
175 match characters inside that range from matching under "/i". This
176 did not work under some circumstances, all involving alternation,
177 such as:
178
179 "\N{KELVIN SIGN}" =~ /k|foo/iaa;
180
181 succeeded inappropriately. This is now fixed.
182
183 • Fixed a case where it was possible that a freed buffer may have
184 been read from when parsing a here document.
185
187 Perl 5.14.1 represents approximately four weeks of development since
188 Perl 5.14.0 and contains approximately 3500 lines of changes across 38
189 files from 17 authors.
190
191 Perl continues to flourish into its third decade thanks to a vibrant
192 community of users and developers. The following people are known to
193 have contributed the improvements that became Perl 5.14.1:
194
195 Bo Lindbergh, Claudio Ramirez, Craig A. Berry, David Leadbeater, Father
196 Chrysostomos, Jesse Vincent, Jim Cromie, Justin Case, Karl Williamson,
197 Leo Lapworth, Nicholas Clark, Nobuhiro Iwamatsu, smash, Tom
198 Christiansen, Ton Hospel, Vladimir Timofeev, and Zsbán Ambrus.
199
201 If you find what you think is a bug, you might check the articles
202 recently posted to the comp.lang.perl.misc newsgroup and the perl bug
203 database at http://rt.perl.org/perlbug/ . There may also be
204 information at http://www.perl.org/ , the Perl Home Page.
205
206 If you believe you have an unreported bug, please run the perlbug
207 program included with your release. Be sure to trim your bug down to a
208 tiny but sufficient test case. Your bug report, along with the output
209 of "perl -V", will be sent off to perlbug@perl.org to be analysed by
210 the Perl porting team.
211
212 If the bug you are reporting has security implications, which make it
213 inappropriate to send to a publicly archived mailing list, then please
214 send it to perl5-security-report@perl.org. This points to a closed
215 subscription unarchived mailing list, which includes all the core
216 committers, who be able to help assess the impact of issues, figure out
217 a resolution, and help co-ordinate the release of patches to mitigate
218 or fix the problem across all platforms on which Perl is supported.
219 Please only use this address for security issues in the Perl core, not
220 for modules independently distributed on CPAN.
221
223 The Changes file for an explanation of how to view exhaustive details
224 on what changed.
225
226 The INSTALL file for how to build Perl.
227
228 The README file for general stuff.
229
230 The Artistic and Copying files for copyright information.
231
232
233
234perl v5.38.2 2023-11-30 PERL5141DELTA(1)