I want to test if "AF00001" is in my list @mylist;

I did: 

foreach $LIST (@mylist) {
        if ($LIST = "AF00001") 
                $boolean = 1;
        else 
                $boolean = 0;
}

is there a more elegant way to do it?

many thanks

jennifer

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

Reply via email to