[Templates] Newbie Question: Calling a method of an object passed to template?

Dave Howorth dhoworth@mrc-lmb.cam.ac.uk
Wed, 27 Sep 2006 15:31:40 +0100


Lee Goddard wrote:
> http://www.template-toolkit.org/docs/plain/Manual/Variables.html
> 
> I've been reading the Manual to confirm that [% cgi.param('foo') %]
> is an object named 'cgi' having its method 'param' called with a
> value of 'foo'.
> 
> Is there anything that needs to be activated or switched to alter
> this behaviour...?

To alter it how?

Dave