X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperl56delta.pod;h=a0c4b065e5fa949c1be0a381fdf2f79eead7c8d5;hb=738498554754dd90699c8e9143242cd60b1e5e37;hp=16a06c43a5e11ee1cc59ab83c3facc712bd1876b;hpb=697934ef381c2fbd2ff49c5e4b22e596a509b7a0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perl56delta.pod b/pod/perl56delta.pod index 16a06c4..a0c4b06 100644 --- a/pod/perl56delta.pod +++ b/pod/perl56delta.pod @@ -4,7 +4,8 @@ perldelta - what's new for perl v5.6.0 =head1 DESCRIPTION -This document describes differences between the 5.005 release and this one. +This document describes differences between the 5.005 release and the 5.6.0 +release. =head1 Core Enhancements @@ -487,7 +488,7 @@ required for C<< foo(10)->('bar') >>. =head2 Boolean assignment operators are legal lvalues -Constructs such as C<($x ||= 2) += 1> are now allowed. +Constructs such as C<($a ||= 2) += 1> are now allowed. =head2 exists() is supported on subroutine names @@ -785,11 +786,10 @@ regardless of whether or not the array has been used or declared already. The fatal error has been downgraded to an optional warning: Possible unintended interpolation of @example in string - + This warns you that C<"fred@example.com"> is going to turn into C if you don't backslash the C<@>. - -See L for more details +See http://www.plover.com/~mjd/perl/at-error.html for more details about the history here. =head1 Modules and Pragmata @@ -1837,7 +1837,8 @@ run in compile-only mode. Since this is typically not the expected behavior, END blocks are not executed anymore when the C<-c> switch is used, or if compilation fails. -See L for how to run things when the compile phase ends. +See L for how to run things when the compile +phase ends. =head2 Potential to leak DATA filehandles @@ -2630,7 +2631,9 @@ but still allowed it. In Perl 5.6.0 and later, C<"$$1"> always means C<"${$1}">. -=item delete(), values() and C<\(%h)> operate on aliases to values, not copies +=item + +delete(), values() and C<\(%h)> operate on aliases to values, not copies delete(), each(), values() and hashes in a list context return the actual values in the hash, instead of copies (as they used to in earlier @@ -2782,7 +2785,7 @@ See L for further information about that. =head2 Compatible C Source API Changes -=over +=over 4 =item C is now C @@ -2989,7 +2992,7 @@ Home Page. If you believe you have an unreported bug, please run the B program included with your release. Be sure to trim your bug down to a tiny but sufficient test case. Your bug report, along with the -output of C, will be sent off to perlbug@perl.com to be +output of C, will be sent off to perlbug@perl.org to be analysed by the Perl porting team. =head1 SEE ALSO @@ -3007,6 +3010,6 @@ The F and F files for copyright information. Written by Gurusamy Sarathy >, with many contributions from The Perl Porters. -Send omissions or corrections to >. +Send omissions or corrections to >. =cut