in reply to difficulty with complicated (for me) hashes

Hi, 2bwise -

To verify if key-value pairs of some %hash have been generated I typically use the following construct:
for my $key ( keys %hash ) { print "$key \t $hash{ $key }"; }
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.
In your example this would be something like
for my $key ( key %{ $test{$team}{'raw_data'} } ) {...}


Hope this helps.

Pat

Replies are listed 'Best First'.
Re^2: difficulty with complicated (for me) hashes
by o2bwise (Scribe) on Dec 19, 2008 at 03:14 UTC
    Thanks, Pat and I am all set! :-)

    o2