summaryrefslogtreecommitdiff
path: root/pod/perl56delta.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perl56delta.pod')
-rw-r--r--pod/perl56delta.pod11
1 files changed, 7 insertions, 4 deletions
diff --git a/pod/perl56delta.pod b/pod/perl56delta.pod
index a0c4b065e5..fc0d668726 100644
--- a/pod/perl56delta.pod
+++ b/pod/perl56delta.pod
@@ -2631,11 +2631,12 @@ but still allowed it.
In Perl 5.6.0 and later, C<"$$1"> always means C<"${$1}">.
-=item
+=item delete(), each(), values() and C<\(%h)>
-delete(), values() and C<\(%h)> operate on aliases to values, not copies
+operate on aliases to values, not copies
-delete(), each(), values() and hashes in a list context return the actual
+delete(), each(), values() and hashes (e.g. C<\(%h)>)
+in a list context return the actual
values in the hash, instead of copies (as they used to in earlier
versions). Typical idioms for using these constructs copy the
returned values, but this can make a significant difference when
@@ -2915,7 +2916,9 @@ include the following:
=item The DB module
-=item The regular expression constructs C<(?{ code })> and C<(??{ code })>
+=item The regular expression code constructs:
+
+C<(?{ code })> and C<(??{ code })>
=back