in reply to
expanding scalar content
Text::Template
will do this for you. Give it a shot.
Comment on
Re: expanding scalar content
In Section
Seekers of Perl Wisdom