On Fri, Dec 20, 2002 at 09:12:09AM -0500, darren chamberlain wrote:
> * Barrie Slaymaker <[EMAIL PROTECTED]> [2002-12-20 08:52]:
> > I've kludged code to peer in to TT2 templates to get at [%META%]
> > declarations (it does not allow this by default AFAICS, surprisingly,
> > I had to grovel through the template object's guts for meta info), and
> > this has proven to be a useful way to let a template declare features
> > or request certain preprocessing functions, like options parsing :).
> 
> Oh, that's a pretty straightforward (though completely undocumented) one:

heh, it's not straightforward if it's undocumented.  Yessirree, that's
my motto.

> You can call:
> 
>   my $foo = $d->foo();
> 
> and get 'bar'.

Thanks for the tip, that's a beaut I'll use.  Any chance of you sending
a docs patch to the TT2 folks?

- Barrie

Reply via email to