projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
810aef7
)
perlfaq4.pod
author
Dave Liney
<dave.liney@gbr.conoco.com>
Thu, 5 Jul 2001 18:44:10 +0000
(19:44 +0100)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 6 Jul 2001 01:16:27 +0000
(
01:16
+0000)
Message-ID: <
1BB544A41666D311836C00902751FF6D01FD2D07
@LONEX02>
p4raw-id: //depot/perl@11168
pod/perlfaq4.pod
patch
|
blob
|
history
diff --git
a/pod/perlfaq4.pod
b/pod/perlfaq4.pod
index
0d23e24
..
cf27c0f
100644
(file)
--- a/
pod/perlfaq4.pod
+++ b/
pod/perlfaq4.pod
@@
-1018,7
+1018,7
@@
Like (d), but @in contains only small positive integers:
But perhaps you should have been using a hash all along, eh?
-=head2 How can I tell whether a
list or array contains a certain element
?
+=head2 How can I tell whether a
certain element is contained in a list or array
?
Hearing the word "in" is an I<in>dication that you probably should have
used a hash, not a list or array, to store your data. Hashes are