X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperl56delta.pod;h=fc0d6687262e42958b1f097b792166276761267a;hb=fd46a41bcdd0437b1ed9c6ad0f245c6c7076e613;hp=a0c4b065e5fa949c1be0a381fdf2f79eead7c8d5;hpb=551e1d922a333f90a45a26904eb4d9882f7bd5d4;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perl56delta.pod b/pod/perl56delta.pod index a0c4b06..fc0d668 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