On 24 Aug 2005 11:11:26 -0700, Randal L. Schwartz <[email protected]> wrote: > >>>>> "Cees" == Cees Hek <[EMAIL PROTECTED]> writes: > > Cees> I would have expected TT to first try the call as a method before > Cees> checking for a VMethod since it was dealing with an object (does it > Cees> even make sense to call a VMethod on an object?). Since it does it > Cees> the other way around, there is no way of calling a method on an object > Cees> that has the same name as VMethod. Is there a good reason for this, > Cees> or is it just the way things were implemented? > > Perhaps (untested): > > method = 'size'; object.$method > > will work?
I believe I tried that one before. It's a nice try, but it doesn't work either. Cheers, Cees _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
