> Does anyone have any ideas on what is a good way to
> check the existance of a value for a key that has
> multiple values?

I'll assume that your hash table has the following structure:

$hash{$key} = [ ];

that is, the value of each hash element is an array reference.

Let's say you're looking for element "frazzle" in the key represented by
variable $key :

for $ele ( @{$hash{$key}} )
{
        if( $ele eq 'frazzle' )
        {
                print "YEAH\n";
        }
}

Luke


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

Reply via email to