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


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.