I also pondered submitting a patch for (I believe it was) Template::Stash--looks pretty basic to insert--if anyone thinks there's wider value in TT2 being able to handle overloaded objects like this.
I don't at the moment, but I can very much see myself having a related problem - I have a blessed hashref that overloads the list dereferencing operator. This is a slightly harder problem, of course - it's easy to say 'object.fred' should be a hash dereference, harder to say 'object.4' should be a list dereference. Elegant solution, anyone?
Tom
_______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
