in reply to
Evaluating $1 construct in literal replacement expression
For a thorough discussion of this topic, see nodes
printig with variables in text
and
simple regular expression
and, with a bit of redundancy,
s/// treat rhs as regex
.
Comment on
Re: Evaluating $1 construct in literal replacement expression
In Section
Seekers of Perl Wisdom