in reply to HTML::Template duplication of tags

Yes, try it

#!/usr/bin/perl use strict; use HTML::Template; my $template = HTML::Template->new(filehandle => \*DATA); $template->param( XX =>'variable XX' ); print $template->output; __DATA__ XX: <TMPL_VAR NAME=XX> XX: <TMPL_VAR NAME=XX> XX: <TMPL_VAR NAME=XX>
poj

Replies are listed 'Best First'.
Re^2: HTML::Template duplication of tags
by Anonymous Monk on Feb 09, 2016 at 11:56 UTC
    Thank you for your response. I have now realised that it was my clunky typing in the template rather than clunky use of the module that was causing problems! :)