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


in reply to hash size

Not really AFAIC. You can shorten things sumwhat by calling keys in scalar context:
%somehash = ( key1 => "value1", key2 => "value2", key3 => "value3, key4 => "value4", ); $size = keys %somehash; print "This hash holds $size key-value pairs\n";

--

Zigster