1PERL5114DELTA(1) Perl Programmers Reference Guide PERL5114DELTA(1)
2
3
4
6 perl5114delta - what is new for perl v5.11.4
7
9 This document describes differences between the 5.11.3 release and the
10 5.11.4 release.
11
12 If you are upgrading from an earlier release such as 5.11.2, first read
13 perl5113delta, which describes differences between 5.11.2 and 5.11.3.
14
16 Version number formats
17 Acceptable version number formats have been formalized into "strict"
18 and "lax" rules. "package NAME VERSION" takes a strict version number.
19 "use NAME VERSION" takes a lax version number. "UNIVERSAL::VERSION"
20 and the version object constructors take lax version numbers.
21 Providing an invalid version will result in a fatal error.
22
23 These formats will be documented fully in the version module in a
24 subsequent release of Perl 5.11. To a first approximation, a "strict"
25 version number is a positive decimal number (integer or decimal-
26 fraction) without exponentiation or else a dotted-decimal v-string with
27 a leading 'v' character and at least three components. A "lax" version
28 number allows v-strings with fewer than three components or without a
29 leading 'v'. Under "lax" rules, both decimal and dotted-decimal
30 versions may have a trailing "alpha" component separated by an
31 underscore character after a fractional or dotted-decimal component.
32
33 The version module adds "version::is_strict" and "version::is_lax"
34 functions to check a scalar against these rules.
35
37 Unicode properties
38 "\p{XDigit}" now matches the same characters as "\p{Hex_Digit}". This
39 means that in addition to the characters it currently matches,
40 "[A-Fa-f0-9]", it will also match their fullwidth equivalent forms, for
41 example U+FF10: FULLWIDTH DIGIT ZERO.
42
44 Pragmata Changes
45 "less"
46 Upgraded from version 0.02 to 0.03.
47
48 This version introduces the "stash_name" method to allow subclasses
49 of less to pick where in %^H to store their stash.
50
51 "version"
52 Upgraded from version 0.77 to 0.81.
53
54 This version adds support for "Version number formats" as described
55 earlier in this document and in its own documentation.
56
57 "warnings"
58 Upgraded from version 1.08 to 1.09.
59
60 This version adds the "illegalproto" warning category. See also
61 "New or Changed Diagnostics" for this change.
62
63 Updated Modules
64 "Archive::Extract"
65 Upgraded from version 0.36 to 0.38.
66
67 "B::Deparse"
68 Upgraded from version 0.93 to 0.94.
69
70 "Compress::Raw::Bzip2"
71 Upgraded from version 2.021 to 2.024.
72
73 "Compress::Raw::Zlib"
74 Upgraded from version 2.021 to 2.024.
75
76 "CPAN"
77 Upgraded from version 1.94_5301 to 1.94_54.
78
79 "File::Fetch"
80 Upgraded from version 0.22 to 0.24.
81
82 "Module::Build"
83 Upgraded from version 0.36 to 0.3603.
84
85 "Safe"
86 Upgraded from version 2.20 to 2.21.
87
88 Anonymous coderefs created in Safe containers no longer get bogus
89 arguments passed to them, fixing RT #72068.
90
91 Removed Modules and Pragmata
92 "Devel::DProf::V"
93 Removed from the Perl core. Prior version was 'undef'.
94
96 A significant fraction of the core documentation has been updated to
97 clarify the behavior of Perl's Unicode handling.
98
99 Much of the remaining core documentation has been reviewed and edited
100 for clarity, consistent use of language, and to fix the spelling of Tom
101 Christiansen's name.
102
103 Configuration improvements
104 USE_ATTRIBUTES_FOR_PERLIO is now reported in the compile-time options
105 listed by the "-V" switch.
106
107 Platform Specific Changes
108 VMS The default pipe buffer size on VMS has been updated to 8192 on
109 64-bit systems.
110
112 · Tie::Hash::NamedCapture::* shouldn't abort if passed bad input (RT
113 #71828)
114
115 · @_ and $_ no longer leak under threads (RT #34342 and #41138, also
116 #70602, #70974)
117
119 New warning category "illegalproto"
120 The two warnings :
121
122 Illegal character in prototype for %s : %s
123 Prototype after '%c' for %s : %s
124
125 have been moved from the "syntax" top-level warnings category into
126 a new first-level category, "illegalproto". These two warnings are
127 currently the only ones emitted during parsing of an
128 invalid/illegal prototype, so one can now do
129
130 no warnings 'illegalproto';
131
132 to suppress only those, but not other syntax-related warnings.
133 Warnings where prototypes are changed, ignored, or not met are
134 still in the "prototype" category as before. (Matt S. Trout)
135
136 lvalue attribute ignored after the subroutine has been defined
137 This new warning is issued when one attempts to mark a subroutine
138 as lvalue after it has been defined.
139
141 · Perl_magic_setmglob now knows about globs, fixing RT #71254.
142
144 Perl 5.11.4 is a development release leading up to Perl 5.12.0. Some
145 notable known problems found in 5.11.4 are listed as dependencies of RT
146 #69710, the Perl 5 version 12 meta-ticket.
147
149 The following items are now deprecated.
150
151 "UNIVERSAL->import()"
152 The method "UNIVERSAL->import()" is now deprecated. Attempting to
153 pass import arguments to a "use UNIVERSAL" statement will result in
154 a deprecation warning. (This is a less noisy version of the full
155 deprecation warning added in 5.11.0.)
156
158 Perl 5.11.4 represents approximately one month of development since
159 Perl 5.11.3 and contains 17682 lines of changes across 318 files from
160 40 authors and committers:
161
162 Abigail, Andy Dougherty, brian d foy, Chris Williams, Craig A. Berry,
163 David Golden, David Mitchell, Father Chrysostomos, Gerard Goossen,
164 H.Merijn Brand, Jesse Vincent, Jim Cromie, Josh ben Jore, Karl
165 Williamson, kmx, Matt S Trout, Nicholas Clark, Niko Tyni, Paul
166 Marquess, Philip Hazel, Rafael Garcia-Suarez, Rainer Tammer, Reini
167 Urban, Ricardo Signes, Shlomi Fish, Tim Bunce, Todd Rinaldo, Tom
168 Christiansen, Tony Cook, Vincent Pit, and Zefram
169
170 Many of the changes included in this version originated in the CPAN
171 modules included in Perl's core. We're grateful to the entire CPAN
172 community for helping Perl to flourish.
173
175 If you find what you think is a bug, you might check the articles
176 recently posted to the comp.lang.perl.misc newsgroup and the perl bug
177 database at <http://rt.perl.org/perlbug/>. There may also be
178 information at <http://www.perl.org/>, the Perl Home Page.
179
180 If you believe you have an unreported bug, please run the perlbug
181 program included with your release. Be sure to trim your bug down to a
182 tiny but sufficient test case. Your bug report, along with the output
183 of "perl -V", will be sent off to perlbug@perl.org to be analyzed by
184 the Perl porting team.
185
186 If the bug you are reporting has security implications, which make it
187 inappropriate to send to a publicly archived mailing list, then please
188 send it to perl5-security-report@perl.org. This points to a closed
189 subscription unarchived mailing list, which includes all the core
190 committers, who be able to help assess the impact of issues, figure out
191 a resolution, and help co-ordinate the release of patches to mitigate
192 or fix the problem across all platforms on which Perl is supported.
193 Please only use this address for security issues in the Perl core, not
194 for modules independently distributed on CPAN.
195
197 The Changes file for an explanation of how to view exhaustive details
198 on what changed.
199
200 The INSTALL file for how to build Perl.
201
202 The README file for general stuff.
203
204 The Artistic and Copying files for copyright information.
205
206
207
208perl v5.12.4 2011-06-01 PERL5114DELTA(1)