On Tue, 15 Oct 2002, darren chamberlain wrote:

> All the lazily-loaded modules are listed in Template::Config, and
> include Template::Context, Template::Filters, Template::Iterator,
> Template::Parser, Template::Plugins, Template::Provider,
> Template::Service, Template::Stash, and Template::Namespace::Constants.
> 
> These are loaded via Template::Config, like so:
> 
>   my $context = Template::Config->context($params);

Hmm, looks like we could do with a bit of work on automagically preloading 
the right things at the right time, if it's possbile.  Remind me again how 
we detect if we're

 a) running under mod_perl, and...
 b) being loaded before fork time

I did try searching the guide and the cookbook, but the answer didn't jump 
out at me and I don't have time to look it up right now.  If someone could 
work up a patch that would be great ;-).

Mark.

-- 
s''  Mark Fowler                                     London.pm   Bath.pm
     http://www.twoshortplanks.com/              [EMAIL PROTECTED]
';use Term'Cap;$t=Tgetent Term'Cap{};print$t->Tputs(cl);for$w(split/  +/
){for(0..30){$|=print$t->Tgoto(cm,$_,$y)." $w";select$k,$k,$k,.03}$y+=2}


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://www.template-toolkit.org/mailman/listinfo/templates

Reply via email to