in reply to
Storing regexps in variables
Take a look at
quotemeta
.
Hope that helps,
andye
Comment on
Re: Storing regexps in variables
In Section
Seekers of Perl Wisdom