On May 21, 2008, at 8:56 PM, David Graves wrote:

> What this code does, is force the use of the perl Stash, and tries to
> pass "foo" as a blessed hash ref. Because it is blessed, Stash.pm
> doesn't think its a HASH and tries to call method bar, instead of
> setting the named value bar. Stash::XS doesn't know its blessed and
> works as expected.
>

I'd say the XS stash has it wrong, and the perl stash behaves as  
expected.  If foo is blessed, then foo.bar is the method bar() not the  
hash element bar.

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

Reply via email to