summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-14 01:17:15 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-14 01:17:15 +0000
commit9740c8380c47f3138ea60459cef1e748515e656d (patch)
tree03c61bb66d7e9900d16da833dfceff1d4e4d548d /pod
parent8ea97a1e700347a7b6ed9267c8c34f286f94d5d6 (diff)
downloadperl-9740c8380c47f3138ea60459cef1e748515e656d.tar.gz
doc typo
p4raw-id: //depot/perl@4799
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 90c1988fb0..4e38db25ca 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -953,7 +953,7 @@ And so do these:
delete @HASH{keys %HASH};
- delete @ARRAY{0 .. $#ARRAY};
+ delete @ARRAY[0 .. $#ARRAY];
But both of these are slower than just assigning the empty list
or undefining %HASH or @ARRAY: