4 This has been completed up to 518a985, except for:
5 04777d295957ad270188e4debf51b523e07cc5b0
6 c565ab54dc649bb62cd4d57149d7b2abb21df5f3
7 1c8d11ca3d0ce8bc11562f159b94c2c7e62dea6c
8 1830b3d9c87f8b1473b0a80759846f7a5dccae5a
9 I may have missed a few module version bumps.
13 [ this is a template for a new perldelta file. Any text flagged as
14 XXX needs to be processed before release. ]
16 perldelta - what is new for perl v5.13.7
20 This document describes differences between the 5.13.6 release and
23 If you are upgrading from an earlier release such as 5.13.5, first read
24 L<perl5136delta>, which describes differences between 5.13.5 and
29 XXX Any important notices here
31 =head1 Core Enhancements
33 XXX New core language features go here. Summarise user-visible core language
34 enhancements. Particularly prominent performance optimisations could go
35 here, but most should go in the L</Performance Enhancements> section.
37 [ List each enhancement as a =head2 entry ]
39 =head2 Single term prototype
41 The C<+> prototype is a special alternative to C<$> that will act like
42 C<\[@%]> when given a literal array or hash variable, but will otherwise
43 force scalar context on the argument. This is useful for functions which
44 should accept either a literal array or an array reference as the argument:
48 die "Not an array or arrayref" unless ref $aref eq 'ARRAY';
52 When using the C<+> prototype, your function must check that the argument
53 is of an acceptable type.
55 =head2 C<use re '/flags';>
57 The C<re> pragma now has the ability to turn on regular expression flags
58 till the end of the lexical scope:
61 "foo" =~ / (.+) /; # /x implied
63 See L<re/'/flags' mode> for details.
65 =head2 Statement labels can appear in more places
67 Statement labels can now occur before any type of statement or declaration,
70 =head2 C<use feature "unicode_strings"> now applies to more regex matching
72 Another chunk of the L<perlunicode/The "Unicode Bug"> is fixed in this
73 release. Now, regular expressions compiled within the scope of the
74 "unicode_strings" feature (or under the "u" regex modifier (specifiable
75 currently only with infix notation C<(?u:...)> or via C<use re '/u'>)
76 will match the same whether or not the target string is encoded in utf8,
77 with regard to C<[[:posix:]]> character classes
79 Work is underway to add the case sensitive matching to the control of
80 this feature, but was not complete in time for this dot release.
82 =head2 Array and hash container functions accept references
84 All built-in functions that operate directly on array or hash
85 containers now also accept hard references to arrays or hashes:
87 |----------------------------+---------------------------|
88 | Traditional syntax | Terse syntax |
89 |----------------------------+---------------------------|
90 | push @$arrayref, @stuff | push $arrayref, @stuff |
91 | unshift @$arrayref, @stuff | unshift $arrayref, @stuff |
92 | pop @$arrayref | pop $arrayref |
93 | shift @$arrayref | shift $arrayref |
94 | splice @$arrayref, 0, 2 | splice $arrayref, 0, 2 |
95 | keys %$hashref | keys $hashref |
96 | keys @$arrayref | keys $arrayref |
97 | values %$hashref | values $hashref |
98 | values @$arrayref | values $arrayref |
99 | ($k,$v) = each %$hashref | ($k,$v) = each $hashref |
100 | ($k,$v) = each @$arrayref | ($k,$v) = each $arrayref |
101 |----------------------------+---------------------------|
103 This allows these built-in functions to act on long dereferencing chains
104 or on the return value of subroutines without needing to wrap them in
107 push @{$obj->tags}, $new_tag; # old way
108 push $obj->tags, $new_tag; # new way
110 for ( keys %{$hoh->{genres}{artists}} ) {...} # old way
111 for ( keys $hoh->{genres}{artists} ) {...} # new way
113 For C<push>, C<unshift> and C<splice>, the reference will auto-vivify
114 if it is not defined, just as if it were wrapped with C<@{}>.
116 Calling C<keys> or C<values> directly on a reference gives a substantial
117 performance improvement over explicit dereferencing.
119 For C<keys>, C<values>, C<each>, when overloaded dereferencing is
120 present, the overloaded dereference is used instead of dereferencing the
121 underlying reftype. Warnings are issued about assumptions made in the
122 following three ambiguous cases:
124 (a) If both %{} and @{} overloading exists, %{} is used
125 (b) If %{} overloading exists on a blessed arrayref, %{} is used
126 (c) If @{} overloading exists on a blessed hashref, @{} is used
130 The C</r> flag, which was added to C<s///> in 5.13.2, has been extended to
131 the C<y///> operator.
133 It causes it to perform the substitution on a I<copy> of its operand,
134 returning that copy instead of a character count.
136 =head2 New global variable C<${^GLOBAL_PHASE}>
138 A new global variable, C<${^GLOBAL_PHASE}>, has been added to allow
139 introspection of the current phase of the perl interpreter. It's explained in
140 detail in L<perlvar/"${^GLOBAL_PHASE}"> and
141 L<perlmod/"BEGIN, UNITCHECK, CHECK, INIT and END">.
143 =head2 Unicode Version 6.0 is now supported.
145 Perl comes with the Unicode 6.0 data base.
146 See L<http://unicode.org/versions/Unicode6.0.0> for details on the new
147 release. Perl does not support any Unicode provisional properties,
148 including the new ones for this release, but their database files are
153 XXX Any security-related notices go here. In particular, any security
154 vulnerabilities closed should be noted here rather than in the
155 L</Selected Bug Fixes> section.
157 [ List each security issue as a =head2 entry ]
159 =head1 Incompatible Changes
161 XXX For a release on a stable branch, this section aspires to be:
163 There are no changes intentionally incompatible with 5.XXX.XXX. If any
164 exist, they are bugs and reports are welcome.
166 [ List each incompatible change as a =head2 entry ]
168 =head2 Dereferencing typeglobs
170 If you assign a typeglob to a scalar variable:
174 the glob that is copied to C<$glob> is marked with a special flag
175 indicating that the glob is just a copy. This allows subsequent assignments
176 to C<$glob> to overwrite the glob. The original glob, however, is
179 Many Perl operators did not distinguish between these two types of globs.
180 This would result in strange behaviour in edge cases: C<untie $scalar>
181 would do nothing if the last thing assigned to the scalar was a glob
182 (because it treated it as C<untie *$scalar>, which unties a handle).
183 Assignment to a glob slot (e.g., C<(*$glob) = \@some_array>) would simply
184 assign C<\@some_array> to C<$glob>.
186 To fix this, the C<*{}> operator (including the C<*foo> and C<*$foo> forms)
187 has been modified to make a new immutable glob if its operand is a glob
188 copy. Various operators that make a distinction between globs and scalars
189 have been modified to treat only immutable globs as globs.
191 This causes an incompatible change in code that assigns a glob to the
192 return value of C<*{}> when that operator was passed a glob copy. Take the
193 following code, for instance:
198 The C<*$glob> on the second line returns a new immutable glob. That new
199 glob is made an alias to C<*bar>. Then it is discarded. So the second
200 assignment has no effect.
202 The upside to this incompatible change is that bugs
203 L<[perl #77496]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=77496>,
204 L<[perl #77502]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=77502>,
205 L<[perl #77508]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=77508>,
206 L<[perl #77688]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=77688>,
208 L<[perl #77812]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=77812>,
209 and maybe others, too, have been fixed.
211 See L<http://rt.perl.org/rt3/Public/Bug/Display.html?id=77810> for even
214 =head2 Clearing stashes
216 Stash list assignment C<%foo:: = ()> used to make the stash anonymous
217 temporarily while it was being emptied. Consequently, any of its
218 subroutines referenced elsewhere would become anonymous (showing up as
219 "(unknown)" in C<caller>). Now they retain their package names, such that
220 C<caller> will return the original sub name if there is still a reference
221 to its typeglob, or "foo::__ANON__" otherwise
222 L<[perl #79208]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=79208>.
226 XXX Any deprecated features, syntax, modules etc. should be listed here.
227 In particular, deprecated modules should be listed here even if they are
228 listed as an updated module in the L</Modules and Pragmata> section.
230 [ List each deprecation as a =head2 entry ]
232 =head1 Performance Enhancements
234 XXX Changes which enhance performance without changing behaviour go here. There
235 may well be none in a stable release.
237 [ List each enhancement as a =item entry ]
243 When an object has many weak references to it, freeing that object
244 can under some some circumstances take O(N^2) time to free (where N is the
245 number of references). The number of circumstances has been reduced.
246 L<[perl #75254]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=75254>.
250 =head1 Modules and Pragmata
252 XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/>
253 go here. If Module::CoreList is updated, generate an initial draft of the
254 following sections using F<Porting/corelist-perldelta.pl>, which prints stub
255 entries to STDOUT. Results can be pasted in place of the '=head2' entries
256 below. A paragraph summary for important changes should then be added by hand.
257 In an ideal world, dual-life modules would have a F<Changes> file that could be
260 [ Within each section, list entries as a =item entry ]
262 =head2 New Modules and Pragmata
268 The following modules were added by the C<Unicode::Collate>
269 upgrade from 0.63 to 0.67. See below for details.
271 C<Unicode::Collate::CJK::Big5>
273 C<Unicode::Collate::CJK::GB2312>
275 C<Unicode::Collate::CJK::JISX0208>
277 C<Unicode::Collate::CJK::Korean>
279 C<Unicode::Collate::CJK::Pinyin>
281 C<Unicode::Collate::CJK::Stroke>
285 =head2 Updated Modules and Pragmata
291 C<Archive::Extract> has been upgraded from 0.44 to 0.46
293 Resolves an issue with NetBSD-current and its new unzip
298 C<Archive::Tar> has been upgraded from 1.68 to 1.72
300 This adds the ptargrep utility for using regular expressions against
301 the contents of files in a tar archive.
305 C<B> has been upgraded from 1.24 to 1.26.
307 It no longer crashes when taking apart a C<y///> containing characters
308 outside the octet range or compiled in a C<use utf8> scope.
312 C<B::Deparse> has been upgraded from 0.99 to 1.01.
314 It fixes deparsing of C<our> followed by a variable with funny characters
315 (as permitted under the C<utf8> pragma)
316 L<[perl #33752]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=33752>.
320 C<CGI> has been upgraded from 3.49 to 3.50
322 This provides the following security fixes: the MIME boundary in
323 multipart_init is now random and improvements to the handling of
324 newlines embedded in header values.
326 The documentation for param_fetch() has been corrected and clarified.
330 C<CPAN> has been upgraded from 1.94_61 to 1.94_62
334 C<CPANPLUS> has been upgraded from 0.9007 to 0.9010
336 Fixes for the SQLite source engine and resolving of issues with the
337 testsuite when run under local::lib and/or cpanminus
341 C<CPANPLUS::Dist::Build> has been upgraded from 0.48 to 0.50
345 C<Data::Dumper> has been upgraded from 2.129 to 2.130.
349 C<DynaLoader> has been upgraded from 1.10 to 1.11.
351 It fixes a buffer overflow when passed a very long file name.
355 C<ExtUtils::Constant> has been upgraded from 0.22 to 0.23.
359 C<Fcntl> has been upgraded from 1.09 to 1.10.
363 C<File::Fetch> has been upgraded from 0.24 to 0.28
365 C<HTTP::Lite> is now supported for 'http' scheme.
367 The C<fetch> utility is supported on FreeBSD, NetBSD and
368 Dragonfly BSD for the C<http> and C<ftp> schemes.
372 C<File::Glob> has been upgraded from 1.09 to 1.10.
376 C<File::stat> has been upgraded from 1.03 to 1.04.
378 The C<-x> and C<-X> file test operators now work correctly under the root
383 C<GDBM_File> has been upgraded from 1.11 to 1.12.
385 This fixes a memory leak when DBM filters are used.
389 C<Hash::Util> has been upgraded from 0.09 to 0.10.
393 C<Hash::Util::FieldHash> has been upgraded from 1.05 to 1.06.
397 C<I18N::Langinfo> has been upgraded from 0.06 to 0.07.
401 C<Locale::Maketext> has been upgraded from 1.16 to 1.17.
405 C<Math::BigInt> has been upgraded from 1.97 to 1.99.
409 C<Math::BigInt::FastCalc> has been upgraded from 0.22 to 0.24.
413 C<MIME::Base64> has been upgraded from 3.09 to 3.10
415 Includes new functions to calculate the length of encoded and decoded
420 C<mro> has been upgraded from 1.04 to 1.05.
424 C<NDBM_File> has been upgraded from 1.09 to 1.10.
426 This fixes a memory leak when DBM filters are used.
430 C<ODBM_File> has been upgraded from 1.08 to 1.09.
432 This fixes a memory leak when DBM filters are used.
436 C<Opcode> has been upgraded from 1.16 to 1.17.
440 C<parent> has been upgraded from 0.223 to 0.224
444 C<Pod::Simple> has been upgraded from 3.14 to 3.15
446 Includes various fixes to C<HTML> and C<XHTML> handling.
450 C<POSIX> has been upgraded from 1.21 to 1.22.
454 C<re> has been upgraded from 0.13 to 0.14, for the sake of the new
455 C<use re "/flags"> pragma.
459 C<Safe> has been upgraded from 2.28 to 2.29.
461 It adds C<&version::vxs::VCMP> to the default share.
465 C<SDBM_File> has been upgraded from 1.07 to 1.08.
469 C<SelfLoader> has been upgraded from 1.17 to 1.18.
471 It now works in taint mode
472 L<[perl #72062]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=72062>.
476 C<Socket> has been upgraded from 1.90 to 1.91.
480 C<Storable> has been upgraded from 2.22 to 2.24
482 Includes performance improvement for overloaded classes.
486 C<Sys::Hostname> has been upgraded from 1.13 to 1.14.
490 C<Unicode::Collate> has been upgraded from 0.63 to 0.67
492 This release newly adds locales C<ja> C<ko> and C<zh> and its variants
493 ( C<zh__big5han>, C<zh__gb2312han>, C<zh__pinyin>, C<zh__stroke> ).
495 Supported UCA_Version 22 for Unicode 6.0.0.
497 The following modules have been added:
499 C<Unicode::Collate::CJK::Big5> for C<zh__big5han> which makes
500 tailoring of CJK Unified Ideographs in the order of CLDR's big5han ordering.
502 C<Unicode::Collate::CJK::GB2312> for C<zh__gb2312han> which makes
503 tailoring of CJK Unified Ideographs in the order of CLDR's gb2312han ordering.
505 C<Unicode::Collate::CJK::JISX0208> which makes tailoring of 6355 kanji
506 (CJK Unified Ideographs) in the JIS X 0208 order.
508 C<Unicode::Collate::CJK::Korean> which makes tailoring of CJK Unified Ideographs
509 in the order of CLDR's Korean ordering.
511 C<Unicode::Collate::CJK::Pinyin> for C<zh__pinyin> which makes
512 tailoring of CJK Unified Ideographs in the order of CLDR's pinyin ordering.
514 C<Unicode::Collate::CJK::Stroke> for C<zh__stroke> which makes
515 tailoring of CJK Unified Ideographs in the order of CLDR's stroke ordering.
519 =head2 Removed Modules and Pragmata
531 XXX Changes to files in F<pod/> go here. Consider grouping entries by
532 file and be sure to link to the appropriate page, e.g. L<perlfunc>.
534 L<perlvar> reorders the variables and groups them by topic. Each variable
535 introduced after Perl 5.000 notes the first version in which it is
536 available. L<perlvar> also has a new section for deprecated variables to
537 note when they were removed.
539 =head2 New Documentation
541 XXX Changes which create B<new> files in F<pod/> go here.
545 XXX Description of the purpose of the new file here
547 =head2 Changes to Existing Documentation
549 XXX Changes which significantly change existing files in F<pod/> go here.
550 However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics>
557 Array and hash slices in scalar context are now documented in L<perldata>.
561 L<perlform> and L<perllocale> have been corrected to state that
562 C<use locale> affects formats.
572 XXX Description of the change here
578 The following additions or changes have been made to diagnostic output,
579 including warnings and fatal error messages. For the complete list of
580 diagnostic messages, see L<perldiag>.
582 XXX New or changed warnings emitted by the core's C<C> code go here. Also
583 include any changes in L<perldiag> that reconcile it to the C<C> code.
585 [ Within each section, list entries as a =item entry ]
587 =head2 New Diagnostics
589 XXX Newly added diagnostic messages go here
595 "Using !~ with %s doesn't make sense": This message was actually added in
596 5.13.2, but was omitted from perldelta. It now applies also to the C<y///>
597 operator, and has been documented.
601 =head2 Changes to Existing Diagnostics
603 XXX Changes (i.e. rewording) of diagnostic messages go here
613 =head1 Utility Changes
615 XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go
616 here. Most of these are built within the directories F<utils> and F<x2p>.
618 [ List utility changes as a =head3 entry for each utility and =item
619 entries for each change
620 Use L<XXX> with program names to get proper documentation linking. ]
628 L<ptargrep> is a utility to apply pattern matching to the contents of files
629 in a tar archive. It comes with C<Archive::Tar>.
633 =head1 Configuration and Compilation
635 XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools
636 go here. Any other changes to the Perl build process should be listed here.
637 However, any platform-specific changes should be listed in the
638 L</Platform Support> section, instead.
640 [ List changes as a =item entry ].
652 XXX Any significant changes to the testing of a freshly built perl should be
653 listed here. Changes which create B<new> files in F<t/> go here as do any
654 large changes to the testing harness (e.g. when parallel testing was added).
655 Changes to existing files in F<t/> aren't worth summarising, although the bugs
656 that they represent may be covered elsewhere.
658 [ List each test improvement as a =item entry ]
664 The new F<t/mro/isa_aliases.t> has been added, which tests that
665 C<*Foo::ISA = *Bar::ISA> works properly.
669 F<t/mro/isarev.t> has been added, which tests that C<PL_isarev> (accessible
670 at the Perl level via C<mro::get_isarev>) is updated properly.
674 F<t/run/switchd-78586.t> has been added, which tests that
675 L<[perl #78586]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=78586>
676 has been fixed (related to line numbers in the debbuger).
680 =head1 Platform Support
682 XXX Any changes to platform support should be listed in the sections below.
684 [ Within the sections, list each platform as a =item entry with specific
685 changes as paragraphs below it. ]
689 XXX List any platforms that this version of perl compiles on, that previous
690 versions did not. These will either be enabled by new files in the F<hints/>
691 directories, or new subdirectories and F<README> files at the top level of the
696 =item XXX-some-platform
702 =head2 Discontinued Platforms
704 XXX List any platforms that this version of perl no longer compiles on.
708 =item XXX-some-platform
714 =head2 Platform-Specific Notes
716 XXX List any changes for specific platforms. This could include configuration
717 and compilation changes or changes in portability/compatibility. However,
718 changes within modules for platforms should generally be listed in the
719 L</Modules and Pragmata> section.
725 Directory handles are now properly cloned when threads are created. In perl
726 5.13.6, child threads simply stopped inheriting directory handles. In
727 previous versions, threads would share handles, resulting in crashes.
729 Support for building with Visual C++ 2010 is now underway, but is not yet
730 complete. See F<README.win32> for more details.
734 Record-oriented files (record format variable or variable wih fixed control)
735 opened for write by the perlio layer will now be line buffered to prevent the
736 introduction of spurious line breaks whenever the perlio buffer fills up.
740 =head1 Internal Changes
742 XXX Changes which affect the interface available to C<XS> code go here.
743 Other significant internal changes for future core maintainers should
746 [ List each test improvement as a =item entry ]
752 C<lex_start> has been added to the API, but is considered experimental.
756 A new C<parse_block> function has been added to the API
757 L<[perl #78222]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=78222>.
761 A new, experimental API has been added for accessing the internal
762 structure that Perl uses for C<%^H>. See the functions beginning with
763 C<cophh_> in L<perlapi>.
767 A stash can now have a list of effective names in addition to its usual
768 name. The first effective name can be accessed via the C<HvENAME> macro,
769 which is now the recommended name to use in MRO linearisations (C<HvNAME>
770 being a fallback if there is no C<HvENAME>).
772 These names are added and deleted via C<hv_ename_add> and
773 C<hv_ename_delete>. These two functions are I<not> part of the API.
777 The way the parser handles labels has been cleaned up and refactored. As a
778 result, the C<newFOROP()> constructor function no longer takes a parameter
779 stating what label is to go in the state op.
783 The C<newWHILEOP()> and C<newFOROP()> functions no longer accept a line
784 number as a parameter.
788 A new C<parse_barestmt()> function has been added, for parsing a statement
793 A new C<parse_label()> function has been added, that parses a statement
794 label, separate from statements.
798 The C<CvSTASH()> macro can now only be used as an rvalue. C<CvSTASH_set()>
799 has been added to replace assignment to C<CvSTASH()>. This is to ensure
800 that backreferences are handled properly. These macros are not part of the
805 The C<op_scope()> and C<op_lvalue()> functions have been added to the API,
806 but are considered experimental.
810 =head1 Selected Bug Fixes
812 XXX Important bug fixes in the core language are summarised here.
813 Bug fixes in files in F<ext/> and F<lib/> are best summarised in
814 L</Modules and Pragmata>.
816 [ List each fix as a =item entry ]
822 The C<parse_stmt> C function added in earlier in the 5.13.x series has been
823 fixed to work with statements ending with C<}>
824 L<[perl #78222]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=78222>.
828 The C<parse_fullstmt> C function added in 5.13.5 has been fixed to work
829 when called while an expression is being parsed.
833 Characters in the Latin-1 non-ASCII range (0x80 to 0xFF) used not to match
834 themselves if the string happened to be UTF8-encoded internally, the
835 regular expression was not, and the character in the regular expression was
836 inside a repeated group (e.g.,
837 C<Encode::decode_utf8("\303\200") =~ /(\xc0)+/>)
838 L<[perl #78464]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=78464>.
842 The C<(?d)> regular expression construct now overrides a previous C<(?u)>
843 or C<use feature "unicode_string">
844 L<[perl #78508]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=78508>.
848 A memory leak in C<do "file">, introduced in perl 5.13.6, has been fixed
849 L<[perl #78488]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=78488>.
853 Various bugs related to typeglob dereferencing have been fixed. See
854 L</Dereferencing typeglobs>, above.
858 The C<SvPVbyte> function available to XS modules now calls magic before
859 downgrading the SV, to avoid warnings about wide characters
860 L<[perl #72398]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=72398>.
864 The C<=> operator used to ignore magic (e.g., tie methods) on its
865 right-hand side if the scalar happened to hold a typeglob. This could
866 happen if a typeglob was the last thing returned from or assigned to a tied
868 L<[perl #77498]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=77498>.
872 C<sprintf> was ignoring locales when called with constant arguments
873 L<[perl #78632]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=78632>.
877 A non-ASCII character in the Latin-1 range could match both a Posix
878 class, such as C<[[:alnum:]]>, and its inverse C<[[:^alnum:]]>. This is
879 now fixed for regular expressions compiled under the C<"u"> modifier.
880 See L</C<use feature "unicode_strings"> now applies to more regex matching>.
881 L<[perl #18281]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=18281>.
885 Concatenating long strings under C<use encoding> no longer causes perl to
887 L<[perl #78674]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=78674>.
891 Typeglob assignments would crash if the glob's stash no longer existed, so
892 long as the glob assigned to was named 'ISA' or the glob on either side of
893 the assignment contained a subroutine.
897 Calling C<< ->import >> on a class lacking an import method could corrupt the stack result in strange behaviour. For instance,
899 push @a, "foo", $b = bar->import;
901 would assign 'foo' to C<$b>
902 L<[perl #63790]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=63790>.
906 Creating an alias to a package when that package had been detached from the
907 symbol table would result in corrupted isa caches
908 L<[perl #77358]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=77358>.
912 C<.=> followed by C<< <> >> or C<readline> would leak memory if C<$/>
913 contained characters beyond the octet range and the scalar assigned to
914 happened to be encoded as UTF8 internally
915 L<[perl #72246]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=72246>.
919 The C<recv> function could crash when called with the MSG_TRUNC flag
920 L<[perl #75082]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=75082>.
924 Evaluating a simple glob (like C<*a>) was calling get-magic on the glob,
925 even when its contents were not being used
926 L<[perl #78580]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=78580>.
928 This bug was introduced in 5.13.2 and did not affect earlier perl versions.
932 Matching a Unicode character against an alternation containing characters
933 that happened to match continuation bytes in the former's UTF8
934 representation (C<qq{\x{30ab}} =~ /\xab|\xa9/>) would cause erroneous
936 L<[perl #70998]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=70998>.
940 C<s///r> (added in 5.13.2) no longer leaks.
944 The trie optimisation was not taking empty groups into account, preventing
945 'foo' from matching C</\A(?:(?:)foo|bar|zot)\z/>
946 L<[perl #78356]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=78356>.
950 A pattern containing a C<+> inside a lookahead would sometimes cause an
951 incorrect match failure in a global match (e.g., C</(?=(\S+))/g>)
952 L<[perl #68564]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=68564>.
956 Iterating with C<foreach> over an array returned by an lvalue sub now works
957 L<[perl #23790]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=23790>.
961 C<$@> is now localised during calls to C<binmode> to prevent action at a
963 L<[perl #78844]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=78844>.
967 C<PL_isarev>, which is accessible to Perl via C<mro::get_isarev> is now
968 updated properly when packages are deleted or removed from the C<@ISA> of
969 other classes. This allows many packages to be created and deleted without
970 causing a memory leak
971 L<[perl #75176]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=75176>.
975 C<undef *Foo::> and C<undef *Foo::ISA> and C<delete $package::{ISA}>
976 used not to update the internal isa caches if the
977 stash or C<@ISA> array had a reference elsewhere. In
978 fact, C<undef *Foo::ISA> would stop a new C<@Foo::ISA> array from updating
983 C<@ISA> arrays can now be shared between classes via
984 C<*Foo::ISA = \@Bar::ISA> or C<*Foo::ISA = *Bar::ISA>
985 L<[perl #77238]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=77238>.
989 The parser no longer hangs when encountering certain Unicode characters,
991 L<[perl #74022]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=74022>.
995 C<formline> no longer crashes when passed a tainted format picture. It also
996 taints C<$^A> now if its arguments are tainted
997 L<[perl #79138]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=79138>.
1001 A signal handler called within a signal handler could cause leaks or
1002 double-frees. Now fixed.
1003 L<[perl #76248]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=76248>.
1007 =head1 Known Problems
1009 XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any
1010 tests that had to be C<TODO>ed for the release would be noted here, unless
1011 they were specific to a particular platform (see below).
1013 This is a list of some significant unfixed bugs, which are regressions
1014 from either 5.XXX.XXX or 5.XXX.XXX.
1016 [ List each fix as a =item entry ]
1028 XXX If any significant core contributor has died, we've added a short obituary
1031 Randy Kobes, creator of the kobesearch alternative to search.cpan.org and
1032 contributor/maintainer to several core Perl toolchain modules, passed away
1033 on September 18, 2010 after a battle with lung cancer. His contributions
1034 to the Perl community will be missed.
1036 =head1 Acknowledgements
1038 XXX The list of people to thank goes here.
1040 =head1 Reporting Bugs
1042 If you find what you think is a bug, you might check the articles
1043 recently posted to the comp.lang.perl.misc newsgroup and the perl
1044 bug database at http://rt.perl.org/perlbug/ . There may also be
1045 information at http://www.perl.org/ , the Perl Home Page.
1047 If you believe you have an unreported bug, please run the B<perlbug>
1048 program included with your release. Be sure to trim your bug down
1049 to a tiny but sufficient test case. Your bug report, along with the
1050 output of C<perl -V>, will be sent off to perlbug@perl.org to be
1051 analysed by the Perl porting team.
1053 If the bug you are reporting has security implications, which make it
1054 inappropriate to send to a publicly archived mailing list, then please send
1055 it to perl5-security-report@perl.org. This points to a closed subscription
1056 unarchived mailing list, which includes all the core committers, who be able
1057 to help assess the impact of issues, figure out a resolution, and help
1058 co-ordinate the release of patches to mitigate or fix the problem across all
1059 platforms on which Perl is supported. Please only use this address for
1060 security issues in the Perl core, not for modules independently
1061 distributed on CPAN.
1065 The F<Changes> file for an explanation of how to view exhaustive details
1068 The F<INSTALL> file for how to build Perl.
1070 The F<README> file for general stuff.
1072 The F<Artistic> and F<Copying> files for copyright information.