in reply to
Re^6: How do I pass $1 to s///?
in thread
How do I pass $1 to s///?
You've just written your own template system. Why not use an existing one? There's even
one
that interpolates as Perl would. Like most homegrown template systems, yours has a bug. It doesn't provide a means of outputing "
$1
".
Comment on
Re^7: How do I pass $1 to s///?
Download
Code
In Section
Seekers of Perl Wisdom