Re: Another Template Toolkit Q

2001-01-29 Thread Jonathan Stowe
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

RE: Another Template Toolkit Q

2001-01-29 Thread Neil Ford
>> >>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

Re: Another Template Toolkit Q

2001-01-29 Thread Robin Szemeti
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);

Re: Another Template Toolkit Q

2001-01-29 Thread Struan Donald
* 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

RE: Another Template Toolkit Q

2001-01-29 Thread Mark . Kitching
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.

RE: Another Template Toolkit Q

2001-01-29 Thread Mark . Kitching
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.

Re: Another Template Toolkit Q

2001-01-29 Thread Struan Donald
* 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,

Re: Another Template Toolkit Q

2001-01-29 Thread Richard Clamp
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