On Mon, 29 Jan 2001 [EMAIL PROTECTED] 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?
>
$tt->process($template,$variables
>>
>>Hang on, isn't there an actual Template Toolkit mailing list.
>>
>>--
>>Richard Clamp <[EMAIL PROTECTED]>
>>
There is? Well I know when I'm not wanted then :-)
Mark k.
Check http://www.tt2.org/info.html#lists for details.
And it's not that you're not wanted :-) it's more that you're likel
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);
* at 29/01 15:29 - [EMAIL PROTECTED] said:
> >>mmm, this should be a FAQ...
> >>
> >>perldoc Template:
> >>struan
> >>
> >>(sho missed this fisrt time round too :)
> >>
>
> Thanks for the pointers, call me lazy, isn't that supposed to be a trait
> of a good programmer? ;-)
only for c
Title: RE: Another Template Toolkit Q
>>mmm, this should be a FAQ...
>>
>>perldoc Template:
>>struan
>>
>>(sho missed this fisrt time round too :)
>>
Thanks for the pointers, call me lazy, isn't that supposed to be a trait of a good programmer? ;-)
Mark K.
Title: RE: Another Template Toolkit Q
>>
>>Hang on, isn't there an actual Template Toolkit mailing list.
>>
>>--
>>Richard Clamp <[EMAIL PROTECTED]>
>>
There is? Well I know when I'm not wanted then :-)
Mark k.
* at 29/01 15:17 - [EMAIL PROTECTED] said:
>
> 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?
>
> Is that possible?
mmm,
On Mon, Jan 29, 2001 at 03:17:10PM -, [EMAIL PROTECTED] 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?
>
> Is that
Title: Another Template Toolkit Q
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?
Is that possible?
Mark K.