in reply to
Get total number of characters in a hash (not memory usage)
perl -le '$h={"key"=>"value"}; $sum += length foreach (keys %$h, values %$h); print $sum'
Comment on
Re: Get total number of characters in a hash (not memory usage)
Download
Code
In Section
Seekers of Perl Wisdom