On Mon, 29 Jan 2001, you wrote:
> 
> 
> So TT nicely allows a filename, a filehandle or blank for STDOUT.
> 
> So how to I capture the output to "some variable" so I could, say,
> manipulate that output
> without having to read the file I've outputted?

you just pass it a scalar ref

my ($stuff);
eg  $tt->process('prices.tt2', $vars, \$stuff );

and lo .. it ends up in $stuff.

<see me kwestion earlier this week and leons answer>

-- 
Robin Szemeti

The box said "requires windows 95 or better"
So I installed Linux!

Reply via email to