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

[PATCH] perlfaq4.pod

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

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About