in reply to Interpolation of variables in stored HTML
Netwallah already mentioned HTML::Template. Template Toolkit and Template::Tiny are options as well.
In Section
Seekers of Perl Wisdom
in reply to Interpolation of variables in stored HTML