Which TT version are you using.
I get the following with:
[% PERL %]
my $x = <<BAR;
foo
Lets put some long text here.
Hrm
baz
BAR
print $x;
[% END %]
It caches the following:
$output .= "\n\nmy \$x = <<BAR;\nfoo\nLets put some long text here.
\nHrm\nbaz\nBAR\n\nprint \$x;\n\n";
That is using TT version 2.14. So it appears to be fixed in recent versions.
If you are using a recent version - what parameters are you initializing TT
with?
Paul
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates