in reply to
interpret variable in a single quoted string
What you have there is a template.
String::Interpolate
is a module that processes such templates.
Comment on
Re: interpret variable in a single quoted string
In Section
Seekers of Perl Wisdom