summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Pit <perl@profvince.com>2010-03-17 22:28:53 +0100
committerVincent Pit <perl@profvince.com>2010-03-17 22:28:53 +0100
commit8a4f3f1418b323a0223261873d8a0d07fd3098d8 (patch)
treeb7433ee5465f35c0a59107051a8a0c5fedc49360
parentee75e258eab0b48cae941e488b64eed08f57fe22 (diff)
downloadperl-8a4f3f1418b323a0223261873d8a0d07fd3098d8.tar.gz
A couple of additions to perl5120delta
-rw-r--r--pod/perl5120delta.pod9
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