in reply to
Best way to print variables in regex
I have
posted a reply
to your
other question
which may help here as well (update: ignore this - Kenosis solution above is far more elegant).
Comment on
Re: Best way to print variables in regex
In Section
Seekers of Perl Wisdom