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