in reply to
Exact Match - GREP
You can use word boundary \b:
grep /\b$Variable\b/, <$fh>
[download]
Comment on
Re: Exact Match - GREP
Download
Code
In Section
Seekers of Perl Wisdom