perl -wle' use HTML::Template; my $ht = HTML::Template->new(scalarref => \<output' document.write(unescape("%3Cscript ... %3C/script%3E"));