Re: Accessing template variables after process

Clayton Scott <[email protected]> Wed, 20 Jun 2012 21:21:46 -0400
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Message-ID <CADpYvkq3OP1Sag4-WQ14h1TMBvsSZVTNJ8LAy-ur+8GY51zHOg@mail.gmail.com>
On Wed, Jun 20, 2012 at 4:31 AM, Daniel Degenhardt <[email protected]>wrote:

> Thanks for the really quick response.
>
> Still it seems that I'm missing something essential. If I do it the way
> you explained, I always get the unmodified values:
>
> [% name="John" %]
>
> in the template still results in printing "Fred" if I write
>
> print $stash{name};
>
>
In my example you may notice that I only modified the hash reference passed
in as 'headers'.
Please see Andy's email as another example.

Clayton
 <https://freundschaftswerbung.gmx.de>

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates