Mark,

Interestingly if you don't use PROCESS in line two of those statements
the error says file error - : not found.  Having used PROCESS, the
un-lowercased path appears in the error.

David Martin
Technical Director
NolaFlash.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Mills
Sent: Saturday, March 06, 2004 11:01 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Templates] Still trying to assign filter output to a
variable

D. Martin wrote:
> [% SET curriculum = bookmark.curriculum.name %]
> [% path = PROCESS "courses/${curriculum}/congratulations.html" %]
> [% lcpath = FILTER lower; path; END %]
> [% PROCESS lcpath %]
> 
> file error - courses/Wetlands/congratulations.html: not found
> 
> Same capital W problem.  I knocked my head against this til 12:30 last

Maybe I'm missing something but AFAIK it should give an error if you run

the un lowered string through PROCESS in line 2 above. You should 
removed the word PROCESS from that line to make it work.

--mark

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates



_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to