From: Dave Liney Date: Thu, 5 Jul 2001 18:44:10 +0000 (+0100) Subject: perlfaq4.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ddbc1f169c53a7e5ffa25bebb3135dbcf4abc88f;p=p5sagit%2Fp5-mst-13.2.git perlfaq4.pod Message-ID: <1BB544A41666D311836C00902751FF6D01FD2D07@LONEX02> p4raw-id: //depot/perl@11168 --- diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod index 0d23e24..cf27c0f 100644 --- 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 Idication that you probably should have used a hash, not a list or array, to store your data. Hashes are