in reply to Exact Match - GREP

You might want:

if (grep /\b$Variable\b/, <$fh>)

See the definition of \b in perlre under "Assertions".

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'