diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-08-01 18:08:35 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-08-01 20:38:18 -0700 |
commit | e1f15c13a3d1d6cc1f49a25d571689e7e78bf450 (patch) | |
tree | 53f65c2052df63e59e22d06314f606125b283f35 /pod/perlfunc.pod | |
parent | ae815a4d7a846cfc88a88df2b7f8b7646723352e (diff) | |
download | perl-e1f15c13a3d1d6cc1f49a25d571689e7e78bf450.tar.gz |
perlfunc: clarification
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 7203b2b703..a60e9d5bae 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -5936,8 +5936,8 @@ Used without arguments in scalar context, reverse() reverses C<$_>. print scalar reverse; # Hello, world Note that reversing an array to itself (as in C<@a = reverse @a>) will -preserve non-existent elements whenever possible, i.e., for non magical -arrays or tied arrays with C<EXISTS> and C<DELETE> methods. +preserve non-existent elements whenever possible; i.e., for non-magical +arrays or for tied arrays with C<EXISTS> and C<DELETE> methods. This operator is also handy for inverting a hash, although there are some caveats. If a value is duplicated in the original hash, only one of those |