[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: minor problem

On Sun, Oct 22, 2000 at 10:09:25PM +0200, Thomas R. Koll wrote:

> Hi,
> I have a (minor) problem.
> In the wml-file I tdefined 
> {#SUBJECT#:main##}
> then I tried to use {#SUBJECT#} in a perl script (if ($file == {#SUBJECT#})). 
> Of course it didn't work because {#SUBJECT#} isn't replaced early enough.
> OK, I solved the prob by writing "main" twice but that's too much work ;-)
> any hints???

Hi Thomas,

Perl code is run during pass 3, so you have to set up your variable in
pass 1, 2 or 3.

Denis Barbier
WML Maintainer
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com