foreach $item (keys %hash){ print "$item: "; foreach $iteminitem (keys %{$hash{$item}}){ print "$iteminitem = $hash{$item}{$iteminitem} "; } print "\n"; }
Read the chapter on Data structures in the Camel book.
Happy coding,
C-Keen
In reply to Re: I've got a hash of hashes how do i get my values out
by C-Keen
in thread I've got a hash of hashes how do i get my values out
by progressive
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |