develooper Front page | perl.perl5.porters | Postings from July 2001

[PATCH] perlfaq4.pod

Thread Next
From:
Liney, Dave
Date:
July 5, 2001 10:44
Subject:
[PATCH] perlfaq4.pod
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.

Dave Liney.

--- 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
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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About