On Mon, 2004-08-23 at 14:27, erob wrote:
>       For the sake of simplicity, I created a main template, called
>       "main-perl.tt" which is simply a big [% RAWPERL %] ... [% END %]
>       directive.

That's usually a bad idea, but you probably know that.

>       However, for some reasons, handling exceptions of the following
>       form does not gives back what I want :
> 
>               if ($stash->get('foo') { 
>                       $output .= "more foo";
>                       $output .= $context->process('foo.tt');
>               }
> 
>               # XXX Cannot get 'blurb' because 'foo' still exists..

I have no idea what you mean by this.  Can you try explaining it in more
detail?

- Perrin


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

Reply via email to