Re: Conflict with the VMethods
Richard Thomas <[email protected]> Fri, 08 Jun 2012 22:15:05 +1000
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <[email protected]> |
On 30/05/2012, at 7:57 AM, Matthew Whiteside wrote:
> Is there a way to differentiate between a virtual method and a object method in TT?
>
Matthew,
You can ensure you get the underlying object's method instead of a TT VMethod by using the 'item' vmethod, ie:
[%- SET var = rs.item('first') -%]
Hope that helps.
RET
_________________________________________
It's just a motivational meeting. I don't care if I miss it.