![]() |
|
more useful options | |
PerlMonks |
Re: Not able to print out hash contents correctlyby Erez (Priest) |
on Mar 24, 2009 at 13:44 UTC ( #752868=note: print w/replies, xml ) | Need Help?? |
Each of the values in $hData is in itself a hash. You need to either dereference them, and iterate over them (like you did in foreach my $k ( keys %{$hData} )) or call Dumper ($hData->{$k}) and have it print the data-structure for you. "A core tenant of the greater Perl philosophy is to trust that the developer knows enough to solve the problem" - Jay Shirley, A case for Catalyst.
In Section
Seekers of Perl Wisdom
|
|