in reply to access and printing of array of hash?

This might help: How can I visualize my complex data structure? (short answer: Data::Dumper).

If you want to know how many hashes with the start/end keys you have, this should do it.

my $count = map { @{ $_ } } values %somehash; # longer way use List::Util 'sum'; my $count = sum map { scalar @{ $_ } } values %somehash;

If that's not the number you're looking for, then I'm not sure what is. Can you explain further?

Replies are listed 'Best First'.
Re^2: access and printing of array of hash?
by sesemin (Beadle) on Jan 28, 2009 at 21:18 UTC
    Thanks Kyle, That solved my problem.