summaryrefslogtreecommitdiff
path: root/pod/perl56delta.pod
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2001-01-02 15:35:03 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-04 18:32:54 +0000
commitcb49b31f4c369cd12097a08c45c1d3cba3657976 (patch)
treec60f1da94645be78875a25914af340d2234b8bbe /pod/perl56delta.pod
parent05ceb97ad3b738039a97213231d2b02440de54ac (diff)
downloadperl-cb49b31f4c369cd12097a08c45c1d3cba3657976.tar.gz
.1]; as Re: [PATCH 5.6.1-TRIAL1 and @8223]; was Re: Perlbug 20000322.006 status update
Message-Id: <200101021535.PAA15161@tempest.npl.co.uk> p4raw-id: //depot/perl@8310
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