> Sorry for the horribly lame question, but I am not having any luck
> finding an answer, probably because I don't know how to phrase the
> question properly.
>
> When I have a hash defined by multiple keys, how can I pull both keys
> out?
>
> $hash{$key1, $key2} = $data;This is equivalent to
$hash{join($;, $key1, $key2)} = $data;
so you need to split on the value of $; to extract the individual keys.
--
Eric Amick
Columbia, MD
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
