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

Re: NEWBIE WARNING: Is it possible to read include variables from perl

I use something like:

#use wml::bar bar=FooBar

in the including document and then:


in bar.wml will evaluate to FooBar. See
under 'Include Variables' for the full syntax.

Peter Poulsen wrote:

> I'm pretty new in wml so now your warned.
> If I include a file like this:
> #include 'bar.wml' bar="FooBar"
> can I then in 'bar.wml' read the bar variable using.
> (I would like to different action, based on what variable is sent)

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