I have a hash and the 'value' associated with each key is an array of
strings.
(I do not care the strings are in order, so I suppose an embedded hash
would do too);
I want to print out the keys and each element of the array that
associated with each key
I did:
foreach $key (keys %hash) {
print $key\n;
print $hash{$key}."\n";
}
however, it printed out the number of total elements in the array
instead of each element. How can I print out the whole array associated
with each key?
thanks a lot
-Jennifer
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]