From: Vincent Pit Date: Wed, 17 Mar 2010 21:28:53 +0000 (+0100) Subject: A couple of additions to perl5120delta X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8a4f3f1418b323a0223261873d8a0d07fd3098d8;p=p5sagit%2Fp5-mst-13.2.git A couple of additions to perl5120delta --- diff --git a/pod/perl5120delta.pod b/pod/perl5120delta.pod index 78c5a44..49f8062 100644 --- a/pod/perl5120delta.pod +++ b/pod/perl5120delta.pod @@ -199,6 +199,10 @@ on how to specify C when creating a distribution for CPAN. The C function can now operate on arrays. +=head2 C as a statement modifier + +C is now allowed to be used as a statement modifier. + =head2 C<$,> flexibility The variable C<$,> may now be tied. @@ -1511,6 +1515,11 @@ C has been optimized to be faster than C. =item * +The string repetition operator (C<$str x $num>) is now several times faster +when C<$str> has length one or C<$num> is large. + +=item * + Reversing an array to itself (as in C<@a = reverse @a>) in void context now happens in-place and is several orders of magnitude faster than it used to be. It will also preserve non-existent elements whenever