Thomas, Mark - BLS CTR wrote:
> It looks like foo.keys returns nothing if foo is blessed into a class. Is
> there a workaround for this? Thanks.

Stephen Howard sent me a patch for Template::Stash which fixes this.
It is applied but currently disabled, in Template::Stash around line
661, so you can (un)comment the relevant sections and it will work (as
long as you're not using the XS stash).

I forget now why the patch isn't enabled by default.  Perhaps it causes
some tests in the test suite to fail, or maybe it's because it only works
in the Perl stash and not the XS stash.  

I do know for a fact that this is fixed and working in TT3. 

A

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

Reply via email to