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


in reply to Re^3: Use hashes instead of grep
in thread How to grep exact string

The code to implement the hash version isn't significantly more complex - see the version in another nodelet for how it would go.
A Monk aims to give answers to those who have none, and to learn from those who know more.