in reply to Creating huge files with the Template Toolkit
It sounds like a bit of a hack, basically you alter the $OUTPUT token for the perl code TT generates.
In Template::Directive it is defined as:
$OUTPUT = '$output .= ';
You can set it to something like this
$Template::Directive::OUTPUT = 'print ';
On the thread Andy notes that this will break WRAPPER and lists a few other caveats.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Creating huge files with the Template Toolkit
by tinita (Parson) on Jun 22, 2006 at 15:57 UTC |