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;
...
foreach $key (sort(keys(%hash))) {
# here ??
my ($key1, $key2) = split(/ /, $key, 2);
}
Thanks a bunch,
Jason
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
