1PERL5111DELTA(1) Perl Programmers Reference Guide PERL5111DELTA(1)
2
3
4
6 perl5111delta - what is new for perl v5.11.1
7
9 This document describes differences between the 5.11.0 release and the
10 5.11.1 release.
11
13 · The boolkeys op moved to the group of hash ops. This breaks binary
14 compatibility.
15
16 · "\s" "\w" and "\d" once again have the semantics they had in Perl
17 5.8.x.
18
20 Add "package NAME VERSION" syntax
21 This new syntax allows a module author to set the $VERSION of a
22 namespace when the namespace is declared with 'package'. It eliminates
23 the need for "our $VERSION = ..." and similar constructs. E.g.
24
25 package Foo::Bar 1.23;
26 # $Foo::Bar::VERSION == 1.23
27
28 There are several advantages to this:
29
30 · $VERSION is parsed in exactly the same way as "use NAME VERSION"
31
32 · $VERSION is set at compile time
33
34 · Eliminates "$VERSION = ..." and "eval $VERSION" clutter
35
36 · As it requires VERSION to be a numeric literal or v-string literal,
37 it can be statically parsed by toolchain modules without "eval" the
38 way MM->parse_version does for "$VERSION = ..."
39
40 · Alpha versions with underscores do not need to be quoted; static
41 parsing will preserve the underscore, but during compilation, Perl
42 will remove underscores as it does for all numeric literals
43
44 It does not break old code with only "package NAME", but code that
45 uses "package NAME VERSION" will need to be restricted to perl
46 5.11.X or newer This is analogous to the change to "open" from two-
47 args to three-args. Users requiring the latest Perl will benefit,
48 and perhaps N years from now it will become standard practice when
49 Perl 5.12 is targeted the way that 5.6 is today.
50
52 Updated Modules
53 · Upgrade to Test-Simple 0.94
54
55 · Upgrade to Storable 2.21
56
57 · Upgrade to Pod-Simple 3.08
58
59 · Upgrade to Parse-CPAN-Meta 1.40
60
61 · Upgrade to ExtUtils-Manifest 1.57
62
63 · Upgrade to ExtUtils-CBuilder 0.260301
64
65 · Upgrade to CGI.pm-3.48
66
67 · Upgrade CPANPLUS to CPAN version 0.89_02
68
69 · Upgrade to threads::shared 1.32
70
71 · Upgrade ExtUtils::ParseXS to 2.21
72
73 · Upgrade File::Path to 2.08 (and add taint.t test)
74
75 · Upgrade Module::CoreList to 2.20
76
77 · Updated Object::Accessor to0.36
78
80 · perlpolicy extends the "Social contract about contributed modules"
81 into the beginnings of a document on Perl porting policies.
82
84 Documentation for $1 in perlvar.pod clarified
85
87 "if (%foo)" has been optimized to be faster than "if (keys %foo)"
88
90 Darwin (Mac OS X)
91 · Skip testing the be_BY.CP1131 locale on Darwin 10 (Mac OS X
92 10.6), as it's still buggy.
93
94 · Correct infelicities in the regexp used to identify buggy
95 locales on Darwin 8 and 9 (Mac OS X 10.4 and 10.5,
96 respectively).
97
98 DragonFly BSD
99 · Fix thread library selection [perl #69686]
100
101 Win32
102 · Initial support for mingw64 is now available
103
104 · Various bits of Perl's build infrastructure are no longer
105 converted to win32 line endings at release time. If this hurts
106 you, please speak up.
107
109 · Perl now properly returns a syntax error instead of segfaulting if
110 "each", "keys" or "values" is used without an argument
111
112 · "tell()" now fails properly if called without an argument and when
113 no previous file was read
114
115 "tell()" now returns "-1", and sets errno to "EBADF", thus
116 restoring the 5.8.x behaviour
117
118 · overload no longer implicitly unsets fallback on repeated 'use
119 overload' lines
120
121 · POSIX::strftime() can now handle Unicode characters in the format
122 string.
123
124 · The Windows select() implementation now supports all empty
125 "fd_set"s more correctly.
126
128 · The 'syntax' category was removed from 5 warnings that should only
129 be in 'deprecated'.
130
131 · Three fatal pack/unpack error messages have been normalized to
132 "panic: %s"
133
134 · "Unicode character is illegal" has been rephrased to be more
135 accurate
136
137 It now reads "Unicode non-character is illegal in interchange" and
138 the perldiag documentation has been expanded a bit.
139
140 · Perl now defaults to issuing a warning if a deprecated language
141 feature is used.
142
143 To disable this feature in a given lexical scope, you should use
144 "no warnings 'deprecated';" For information about which language
145 features are deprecated and explanations of various deprecation
146 warnings, please see perldiag
147
149 · Significant cleanups to core tests to ensure that language and
150 interpreter features are not used before they're tested.
151
152 · "make test_porting" now runs a number of important pre-commit
153 checks which might be of use to anyone working on the Perl core.
154
155 · t/porting/podcheck.t automatically checks the well-formedness of
156 POD found in all .pl, .pm and .pod files in the MANIFEST, other
157 than in dual-lifed modules which are primarily maintained outside
158 the Perl core.
159
160 · t/porting/manifest.t now tests that all files listed in MANIFEST
161 are present.
162
164 Untriaged test crashes on Windows 2000
165 Several porters have reported mysterious crashes when Perl's entire
166 test suite is run after a build on certain Windows 2000 systems.
167 When run by hand, the individual tests reportedly work fine.
168
169 Known test failures on VMS
170 Perl 5.11.1 fails a small set of core and CPAN tests as of this
171 release. With luck, that'll be sorted out for 5.11.2
172
174 The Perl 5.11.0 release notes incorrectly described 'delete local'
175
177 Perl 5.11.1 represents approximately 3 weeks development since Perl
178 5.11.0 contains 22,000 lines of changes across 396 files from 26
179 authors and committers:
180
181 Abigail, Alex Vandiver, brian d foy, Chris Williams, Craig A. Berry,
182 David Fifield, David Golden, demerphq, Eric Brine, Geoffrey T. Dairiki,
183 George Greer, H.Merijn Brand, Jan Dubois, Jerry D. Hedden, Jesse
184 Vincent, Josh ben Jore, Max Maischein, Nicholas Clark, Rafael Garcia-
185 Suarez, Simon Schubert, Sisyphus, Smylers, Steve Hay, Steve Peters,
186 Vincent Pit and Yves Orton.
187
188 Many of the changes included in this version originated in the CPAN
189 modules included in Perl's core. We're grateful to the entire CPAN
190 community for helping Perl to flourish.
191
193 If you find what you think is a bug, you might check the articles
194 recently posted to the comp.lang.perl.misc newsgroup and the perl bug
195 database at http://rt.perl.org/perlbug/ . There may also be
196 information at http://www.perl.org/ , the Perl Home Page.
197
198 If you believe you have an unreported bug, please run the perlbug
199 program included with your release. Be sure to trim your bug down to a
200 tiny but sufficient test case. Your bug report, along with the output
201 of "perl -V", will be sent off to perlbug@perl.org to be analysed by
202 the Perl porting team.
203
204 If the bug you are reporting has security implications, which make it
205 inappropriate to send to a publicly archived mailing list, then please
206 send it to perl5-security-report@perl.org. This points to a closed
207 subscription unarchived mailing list, which includes all the core
208 committers, who be able to help assess the impact of issues, figure out
209 a resolution, and help co-ordinate the release of patches to mitigate
210 or fix the problem across all platforms on which Perl is supported.
211 Please only use this address for security issues in the Perl core, not
212 for modules independently distributed on CPAN.
213
215 The Changes file for an explanation of how to view exhaustive details
216 on what changed.
217
218 The INSTALL file for how to build Perl.
219
220 The README file for general stuff.
221
222 The Artistic and Copying files for copyright information.
223
224
225
226perl v5.12.4 2011-06-01 PERL5111DELTA(1)