http://www.perlmonks.org?node_id=836241


in reply to print array of hashes

See the following Example:
my @rec = ( { name => 'Nancy', address => 613, kids => [abc, def] }, . . ); . . print scalar(@{$rec[0]->{kids}});
--$ugum@r--