Re: Some virtual methods do not work

Dave Howorth <dhoworth-fDajt2Yx3S8pY9vWkoisglpr/1R2p/[email protected]> Tue, 09 Apr 2013 15:56:57 +0100
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Organization MRC Laboratory for Molecular Biology
Message-ID <[email protected]>
Kiss Gabor (Bitman) wrote:
> Dear folks,
> 
> I'm pretty new to TT.
> 
> I was just creating my first project when I noticed that
> virtual method "trim" produces empty output.
> 
> I read http://www.template-toolkit.org/docs/manual/VMethods.html
> several times but it did not help.
> Finally I wrote this test template:

What version of TT are you using? What does the VMethods manual page say
on your machine? trim only became a VMethod in the latest release, for
example. Before that it is [only] a filter.

Cheers, Dave