This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlfunc: Add missing ')'
[perl5.git] / pod / perl5182delta.pod
CommitLineData
7b97958f
SH
1=encoding utf8
2
3=head1 NAME
4
5perl5182delta - what is new for perl v5.18.2
6
7=head1 DESCRIPTION
8
9This document describes differences between the 5.18.1 release and the 5.18.2
10release.
11
12If you are upgrading from an earlier release such as 5.18.0, first read
13L<perl5181delta>, which describes differences between 5.18.0 and 5.18.1.
14
15=head1 Modules and Pragmata
16
17=head2 Updated Modules and Pragmata
18
19=over 4
20
21=item *
22
23L<B> has been upgraded from version 1.42_01 to 1.42_02.
24
25The fix for [perl #118525] introduced a regression in the behaviour of
26C<B::CV::GV>, changing the return value from a C<B::SPECIAL> object on
27a C<NULL> C<CvGV> to C<undef>. C<B::CV::GV> again returns a
28C<B::SPECIAL> object in this case. [perl #119413]
29
30=item *
31
32L<B::Concise> has been upgraded from version 0.95 to 0.95_01.
33
34This fixes a bug in dumping unexpected SPECIALs.
35
36=item *
37
38L<English> has been upgraded from version 1.06 to 1.06_01. This fixes an
2e061f0f 39error about the performance of C<$`>, C<$&>, and C<$'>.
7b97958f
SH
40
41=item *
42
43L<File::Glob> has been upgraded from version 1.20 to 1.20_01.
44
45=back
46
47=head1 Documentation
48
49=head2 Changes to Existing Documentation
50
51=over 4
52
53=item *
54
55L<perlrepository> has been restored with a pointer to more useful pages.
56
57=item *
58
59L<perlhack> has been updated with the latest changes from blead.
60
61=back
62
63=head1 Selected Bug Fixes
64
65=over 4
66
67=item *
68
69Perl 5.18.1 introduced a regression along with a bugfix for lexical subs.
70Some B::SPECIAL results from B::CV::GV became undefs instead. This broke
71Devel::Cover among other libraries. This has been fixed. [perl #119351]
72
73=item *
74
75Perl 5.18.0 introduced a regression whereby C<[:^ascii:]>, if used in the same
76character class as other qualifiers, would fail to match characters in the
77Latin-1 block. This has been fixed. [perl #120799]
78
79=item *
80
81Perl 5.18.0 introduced a regression when using ->SUPER::method with AUTOLOAD
82by looking up AUTOLOAD from the current package, rather than the current
83package’s superclass. This has been fixed. [perl #120694]
84
85=item *
86
87Perl 5.18.0 introduced a regression whereby C<-bareword> was no longer
88permitted under the C<strict> and C<integer> pragmata when used together. This
89has been fixed. [perl #120288]
90
91=item *
92
93Previously PerlIOBase_dup didn't check if pushing the new layer succeeded
94before (optionally) setting the utf8 flag. This could cause
95segfaults-by-nullpointer. This has been fixed.
96
97=item *
98
99A buffer overflow with very long identifiers has been fixed.
100
101=item *
102
103A regression from 5.16 in the handling of padranges led to assertion failures
104if a keyword plugin declined to handle the second ‘my’, but only after creating
105a padop.
106
107This affected, at least, Devel::CallParser under threaded builds.
108
2e061f0f 109This has been fixed.
7b97958f
SH
110
111=item *
112
113The construct C<< $r=qr/.../; /$r/p >> is now handled properly, an issue which
114had been worsened by changes 5.18.0. [perl #118213]
115
116=back
117
118=head1 Acknowledgements
119
120Perl 5.18.2 represents approximately 3 months of development since Perl
1215.18.1 and contains approximately 980 lines of changes across 39 files from 4
122authors.
123
124Perl continues to flourish into its third decade thanks to a vibrant
125community of users and developers. The following people are known to have
126contributed the improvements that became Perl 5.18.2:
127
128Craig A. Berry, David Mitchell, Ricardo Signes, Tony Cook.
129
130The list above is almost certainly incomplete as it is automatically
131generated from version control history. In particular, it does not include
132the names of the (very much appreciated) contributors who reported issues to
133the Perl bug tracker.
134
135Many of the changes included in this version originated in the CPAN modules
136included in Perl's core. We're grateful to the entire CPAN community for
137helping Perl to flourish.
138
139For a more complete list of all of Perl's historical contributors, please see
140the F<AUTHORS> file in the Perl source distribution.
141
142=head1 Reporting Bugs
143
144If you find what you think is a bug, you might check the articles recently
145posted to the comp.lang.perl.misc newsgroup and the perl bug database at
146http://rt.perl.org/perlbug/ . There may also be information at
147http://www.perl.org/ , the Perl Home Page.
148
149If you believe you have an unreported bug, please run the L<perlbug> program
150included with your release. Be sure to trim your bug down to a tiny but
151sufficient test case. Your bug report, along with the output of C<perl -V>,
152will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
153
154If the bug you are reporting has security implications, which make it
155inappropriate to send to a publicly archived mailing list, then please send it
156to perl5-security-report@perl.org. This points to a closed subscription
157unarchived mailing list, which includes all the core committers, who will be
158able to help assess the impact of issues, figure out a resolution, and help
159co-ordinate the release of patches to mitigate or fix the problem across all
160platforms on which Perl is supported. Please only use this address for
161security issues in the Perl core, not for modules independently distributed on
162CPAN.
163
164=head1 SEE ALSO
165
166The F<Changes> file for an explanation of how to view exhaustive details on
167what changed.
168
169The F<INSTALL> file for how to build Perl.
170
171The F<README> file for general stuff.
172
173The F<Artistic> and F<Copying> files for copyright information.
174
175=cut