Front page | perl.perl5.porters |
Postings from July 2001
From: Liney, Dave
July 5, 2001 10:44
Message ID: 1BB544A41666D311836C00902751FF6D01FD2D07@LONEX02
Tiny patch to perlfaq4. The word "in" isn't in the question so the first
line of the answer doesn't make a whole lot of sense. Perhaps it was written
when the question was more similar to my version.
--- perlfaq4.pod Thu Jul 5 18:26:23 2001
+++ perlfaq4.pod.new Thu Jul 5 18:32:05 2001
@@ -994,7 +994,7 @@
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
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
by Liney, Dave