On Sat, 5 Oct 2002, allan wrote:

> can't TT handle a tied hash or does it handle it another way ?

The Template Toolkit has two 'stash' classes that it uses to store 
variables.  The faster of the two, Template::Stash::XS is the default.  
It's great, but the one thing it doesn't do is deal with tied variables.

If you want to use tied hashes then you'll have to switch to using the 
slower stash.  The simplest way to do this is to reinstall the template 
toolkit and answer the appropriate question - if it should use 
Template::Stash::XS - with a negative.

Hope that helps.

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