On Fri, 27 Sep 2002, Timothy Johnson wrote:

> 
> check out "perldoc -f grep"

grep should not be used for this purpose, it will run through the entire 
list even after the desired element has been found.

> 
> -----Original Message-----
> From: Kyle Babich [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 27, 2002 4:34 AM
> To: beginners
> Subject: newbie - in
> 
> 
> Does Perl have an in operator or something similar?
> If not how would I find out if a certain list has a certain element?
> 
> Thank you,
> --
> Kyle
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to