in reply to difficulty with complicated (for me) hashes
When using multidimensional hashes, things are only slightly complicated by the fact that the intermediate dimensions of your hash only return references. In those cases it is necessary to derefence the reference to obtain the actual hash.for my $key ( keys %hash ) { print "$key \t $hash{ $key }"; }
for my $key ( key %{ $test{$team}{'raw_data'} } ) {...}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: difficulty with complicated (for me) hashes
by o2bwise (Scribe) on Dec 19, 2008 at 03:14 UTC |