casey> I don't think this has been applied, at least I haven't
casey> seen it in the change logs.  This would be *very* handy
casey> for Tangram objects.  Tangram and TT should be a happy
casey> couple.
casey>
casey>   http://www.template-toolkit.org/pipermail/templates/2001-June/-001047.html

casey> I have a situation where I'm trying to access class member data and TT
casey> blows up with an 'undef error' because it was only able to try to
casey> invoke the class method.  Here is a patch under duress, probably not
casey> perfect but fixes the problem for me.

I don't understand this issue and patch.  TT2 can access members of
blessed references.  In the case where DEBUG is set, you will get an
undef error if you try to access a class member whose value is undef.
But DEBUG is somewhat broken and needs to be reworked (should be on
the v3 list).

If DEBUG is not set then I don't see what your patch does differently
to the default behavior.  It would be helpful if you could post a
short example highlighting the difference.

Craig


Reply via email to