diff options
Diffstat (limited to 'pod/perl5120delta.pod')
-rw-r--r-- | pod/perl5120delta.pod | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pod/perl5120delta.pod b/pod/perl5120delta.pod index 78c5a44cd7..49f8062d72 100644 --- a/pod/perl5120delta.pod +++ b/pod/perl5120delta.pod @@ -199,6 +199,10 @@ on how to specify C<configure_requires> when creating a distribution for CPAN. The C<each> function can now operate on arrays. +=head2 C<when> as a statement modifier + +C<when> 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<if (%foo)> has been optimized to be faster than C<if (keys %foo)>. =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 |