in reply to Picking out specific lengths from a set of hashes.

Also, just a quick note on terminology:

my %myhash = (); $myhash{'ABC'} = 10;

When you use the term 'hash' to mean the 'value', it can cause confusion when someone is reading your description. I find it helpful to use distinct terminology for each element or aspect of a thing, if possible.