in reply to Template Toolkit - Setting variables between new() and process()

What stops you from just talking to the stash directly?
$tt->context->stash->set(foo => 'bar');
Looks like that should work.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Template Toolkit - Setting variables between new() and process()
  • Download Code

Replies are listed 'Best First'.
Re^2: Template Toolkit - Setting variables between new() and process()
by Anonymous Monk on Feb 27, 2004 at 21:38 UTC

    Why thank you. I was on a wild goosechase in the Template modules. The closest I got to finding this method was a call to Template::Stash->load(), which incidentally was XS coded. Thanks again :)