Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Perl: how to do is x in @example.com



Is the a built-in in Perl that will let me check if a value is in an array? 
I.e.:

$x = "one";
@example.com = {"one", "two"};

if ($x is in @example.com) {do this;}

Jc

PS I suffered through WindowsMe nightmares last night, that'll teach me to 
stray from the path ...


--------------------
Personally I feel that Netscape rocks as a port 80 scanner.
The shit you get back as output! Wow. <kt@example.com>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links