add version number format note to perldelta
[p5sagit/p5-mst-13.2.git] / pod / perl5114delta.pod
CommitLineData
e06a4ec4 1=head1 NAME
2
3perldelta - what is new for perl v5.11.4
4
5=head1 DESCRIPTION
6
7This document describes differences between the 5.11.3 release and
8the 5.11.4 release.
9
10If you are upgrading from an earlier release such as 5.11.2, first read
11L<perl5113delta>, which describes differences between 5.11.2 and
125.11.3.
13
14=head1 Notice
15
16XXX Any important notices here
17
18=head1 Incompatible Changes
19
20XXX For a release on a stable branch, this section aspires to be:
21
22 There are no changes intentionally incompatible with 5.XXX.XXX. If any
23 exist, they are bugs and reports are welcome.
24
91625400 25=head2 Version number formats
26
27Acceptable version number formats have been formalized into "strict" and
28"lax" rules. C<package NAME VERSION> takes a strict version number. C<use
29NAME VERSION> takes a lax version number. C<UNIVERSAL::VERSION> and the
30L<version> object constructors take lax version numbers. Providing an
31invalid version will result in a fatal error.
32
33These formats will be documented fully in the L<version> module in a
34subsequent release of Perl 5.11. To a first approximation, a "strict"
35version number is a positive decimal number (integer or decimal-fraction)
36without exponentiation or else a dotted-decimal v-string with a leading 'v'
37character and at least three components. A "lax" version number allows
38v-strings with fewer than three components or without a leading 'v'. Under
39"lax" rules, both decimal and dotted-decimal versions may have a trailing
40"alpha" component separated by an underscore character after a fractional
41or dotted-decimal component.
42
43The L<version> module adds C<version::is_strict> and C<version::is_lax>
44functions to check a scalar against these rules.
e06a4ec4 45
46=head1 Core Enhancements
47
48XXX New core language features go here. Summarise user-visible core language
49enhancements. Particularly prominent performance optimisations could go
50here, but most should go in the L</Performance Enhancements> section.
51
75080c80 52=head2 Unicode properties
53
54C<\p{XDigit}> now matches the same characters as C<\p{Hex_Digit}>. This
55means that in addition to the characters it currently matches,
56C<[A-Fa-f0-9]>, it will also match their fullwidth equivalent forms, for
57example U+FF10: FULLWIDTH DIGIT ZERO.
58
e06a4ec4 59=head1 New Platforms
60
61XXX List any platforms that this version of perl compiles on, that previous
62versions did not. These will either be enabled by new files in the F<hints/>
63directories, or new subdirectories and F<README> files at the top level of the
64source tree.
65
66=head1 Modules and Pragmata
67
68XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/>
69go here. If Module::CoreList is updated, generate an initial draft of the
70following sections using F<Porting/corelist-perldelta.pl>, which prints stub
71entries to STDOUT. Results can be pasted in place of the '=head2' entries
72below. A paragraph summary for important changes should then be added by hand.
73In an ideal world, dual-life modules would have a F<Changes> file that could be
74cribbed.
75
76=head2 New Modules and Pragmata
77
78=head2 Pragmata Changes
79
80=head2 Updated Modules
81
82=head2 Removed Modules and Pragmata
83
84=head1 Utility Changes
85
86XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go
87here. Most of these are built within the directories F<utils> and F<x2p>.
88
89=over 4
90
91=item F<XXX>
92
93XXX
94
95=back
96
97=head1 New Documentation
98
99XXX Changes which create B<new> files in F<pod/> go here.
100
101=over 4
102
103=item L<XXX>
104
105XXX
106
107=back
108
109=head1 Changes to Existing Documentation
110
111XXX Changes which significantly change existing files in F<pod/> go here.
112Any changes to F<pod/perldiag.pod> should go in L</New or Changed Diagnostics>.
113
114
115=head1 Performance Enhancements
116
117XXX Changes which enhance performance without changing behaviour go here. There
118may well be none in a stable release.
119
120=over 4
121
122=item *
123
124XXX
125
126=back
127
128=head1 Installation and Configuration Improvements
129
130XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools
131go here.
132
133=head2 Configuration improvements
134
135XXX
136
137=head2 Compilation improvements
138
139XXX
140
141=head2 Platform Specific Changes
142
143=over 4
144
145=item XXX-some-platform
146
147XXX
148
149=back
150
151=head1 Selected Bug Fixes
152
153XXX Important bug fixes in the core language are summarised here.
154Bug fixes in files in F<ext/> and F<lib/> are best summarised in
155L</Modules and Pragmata>.
156
157=over 4
158
159=item *
160
161XXX
162
163=back
164
165=head1 New or Changed Diagnostics
166
e06a4ec4 167=over 4
168
cabbd591 169=item New warning category C<illegalproto>
e06a4ec4 170
cabbd591 171The two warnings :
172
173 Illegal character in prototype for %s : %s
174 Prototype after '%c' for %s : %s
175
176have been moved from the C<syntax> top-level warnings category into a new
177first-level category, C<illegalproto>. These two warnings are currently the
178only ones emitted during parsing of an invalid/illegal prototype, so one
179can now do
180
181 no warnings 'illegalproto';
182
183to suppress only those, but not other syntax-related warnings. Warnings where
184prototypes are changed, ignored, or not met are still in the C<prototype>
185category as before. (Matt S. Trout)
e06a4ec4 186
98adedef 187=item lvalue attribute ignored after the subroutine has been defined
188
189This new warning is issued when one attempts to mark a subroutine as
190lvalue after it has been defined.
191
e06a4ec4 192=back
193
194=head1 Changed Internals
195
196XXX Changes which affect the interface available to C<XS> code go here.
197
198=over 4
199
200=item *
201
202XXX
203
204=back
205
206=head1 New Tests
207
208XXX Changes which create B<new> files in F<t/> go here. Changes to
209existing files in F<t/> aren't worth summarising, although the bugs that
210they represent may be.
211
212=over 4
213
214=item F<XXX>
215
216XXX
217
218=back
219
220=head1 Known Problems
221
222XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any
223tests that had to be C<TODO>ed for the release would be noted here, unless
224they were specific to a particular platform (see below).
225
226This is a list of some significant unfixed bugs, which are regressions
227from either 5.XXX.XXX or 5.XXX.XXX.
228
229=over 4
230
231=item *
232
233XXX
234
235=back
236
237=head1 Deprecations
238
e06a4ec4 239The following items are now deprecated.
240
241=over 4
242
6f7a7d3e 243=item C<< UNIVERSAL-E<gt>import() >>
e06a4ec4 244
6f7a7d3e 245The method C<< UNIVERSAL-E<gt>import() >> is now deprecated.
246Attempting to pass import arguments to a C<use UNIVERSAL>
247statement will result in a deprecation warning. (This is
248a less noisy version of the full deprecation warning
249added in 5.11.0.)
e06a4ec4 250
251=back
252
253=head1 Platform Specific Notes
254
255XXX Any changes specific to a particular platform. VMS and Win32 are the usual
256stars here. It's probably best to group changes under the same section layout
257as the main perldelta
258
259=head1 Obituary
260
261XXX If any significant core contributor has died, we've added a short obituary
262here.
263
264=head1 Acknowledgements
265
266XXX The list of people to thank goes here.
267
268
269=head1 Reporting Bugs
270
271If you find what you think is a bug, you might check the articles
272recently posted to the comp.lang.perl.misc newsgroup and the perl
273bug database at http://rt.perl.org/perlbug/ . There may also be
274information at http://www.perl.org/ , the Perl Home Page.
275
276If you believe you have an unreported bug, please run the B<perlbug>
277program included with your release. Be sure to trim your bug down
278to a tiny but sufficient test case. Your bug report, along with the
279output of C<perl -V>, will be sent off to perlbug@perl.org to be
280analysed by the Perl porting team.
281
282If the bug you are reporting has security implications, which make it
283inappropriate to send to a publicly archived mailing list, then please send
284it to perl5-security-report@perl.org. This points to a closed subscription
285unarchived mailing list, which includes all the core committers, who be able
286to help assess the impact of issues, figure out a resolution, and help
287co-ordinate the release of patches to mitigate or fix the problem across all
288platforms on which Perl is supported. Please only use this address for
289security issues in the Perl core, not for modules independently
290distributed on CPAN.
291
292=head1 SEE ALSO
293
294The F<Changes> file for an explanation of how to view exhaustive details
295on what changed.
296
297The F<INSTALL> file for how to build Perl.
298
299The F<README> file for general stuff.
300
301The F<Artistic> and F<Copying> files for copyright information.
302
303=cut