Just another Perl shrine | |
PerlMonks |
Re: Re: Regexp - exact matchesby isotope (Deacon) |
on Jul 30, 2003 at 18:20 UTC ( [id://279305]=note: print w/replies, xml ) | Need Help?? |
Looks to me like $LookFor is a string to be used as the regular expression. In the second line, he's building it with the contents of $srch_host as an exact match, using double quotes, so for the ending anchor $ to be included literally he has to escape it. That said, I don't think he's included enough of the code to find where the problem lies. --isotope
In Section
Seekers of Perl Wisdom
|
|