I got an array of hashes so I am using a foreach (@arr) loop to access the hashes. How do I go about looping through the hash's keys/values? I was thinking of another foreach, but then the $_ gets a bit screwed up...
Do I need to do this ?
foreach(@arr) {
%hash = %{$_};
foreach (keys %hash) {
print "$_ => $hash{$_}\n";
}
}
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
