diff options
author | Ricardo Signes <rjbs@semiotic.systems> | 2020-08-23 21:30:06 -0400 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-09-06 20:47:53 -0600 |
commit | 391047546324e06cdf7e65c820d385f5c5c1baa0 (patch) | |
tree | 8b7dbff0516499a2121e537eef0e66eb1caba96e /pod/perlfunc.pod | |
parent | eb0444cb23a8ec47ef18d5aa33ec88aa5e71b7e8 (diff) | |
download | perl-391047546324e06cdf7e65c820d385f5c5c1baa0.tar.gz |
language docs: prefer postfix deref in numerous places
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r-- | pod/perlfunc.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 0ce5512995..6a983e78cb 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -1675,10 +1675,10 @@ The EXPR can be arbitrarily complicated provided its final operation is an element or slice of an aggregate: delete $ref->[$x][$y]{$key}; - delete @{$ref->[$x][$y]}{$key1, $key2, @morekeys}; + delete $ref->[$x][$y]->@{$key1, $key2, @morekeys}; delete $ref->[$x][$y][$index]; - delete @{$ref->[$x][$y]}[$index1, $index2, @moreindices]; + delete $ref->[$x][$y]->@[$index1, $index2, @moreindices]; =item die LIST X<die> X<throw> X<exception> X<raise> X<$@> X<abort> |