in reply to array of hashes
my $num_children = @{ $barry{children} }; [download]
print( scalar( @{ $barry{children} } ), "\n" ); [download]