Re: [Templates] Newbie: problem with process ...

[prev] [thread] [next] [Date index for 2004/11/12]

From: Andy Wardley
Subject: Re: [Templates] Newbie: problem with process ...
Date: 09:09 on 12 Nov 2004
Johannes Kilian wrote:
> my $str='[% dir.documentation %]/[% component.name %]';

'component' is a special variable which refers to the current template
you're processing.  'component.name' returns its name.  You're getting 
that value instead of your variable.

See Template::Manual::Variables or p111 of the Badger Book.

HTH
A


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] Newbie: problem with process ...
Johannes Kilian 08:42 on 12 Nov 2004

Re: [Templates] Newbie: problem with process ...
Harald Joerg 09:05 on 12 Nov 2004

Re: [Templates] Newbie: problem with process ...
Johannes Kilian 11:17 on 12 Nov 2004

Re: [Templates] Newbie: problem with process ...
Andy Wardley 09:09 on 12 Nov 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52