are you using the xs version of Template::Stash or the pure perl version? The xs version is broken as far as dealing with tied hashes, unfortunately.

Chris Ochs wrote:

I have a couple of hashes that are tied hashes to apache::session sessions.
I can access and manipulate them directly via [% hash.key %] or [% hash.key
= 'myvalue' %], but the following from the documentation doesn't work, it
doesnt' see any of the elements:

[% FOREACH key = hash.keys %]
      [% key %] => [% hash.$key %]
   [% END %]


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





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

Reply via email to