in reply to search and variable interpolation in templates

This question is answered in the Perl FAQ. How can I expand variables in text strings?
  • Comment on Re: search and variable interpolation in templates