in reply to Picking out specific lengths from a set of hashes.
When you read in the file, you never set an id. I suspect that $_ = $1 should in fact be $id = $1.
Dave.
In Section
Seekers of Perl Wisdom
in reply to Picking out specific lengths from a set of hashes.
Dave.