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

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



On Sun, 12 Mar 2000, 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)

Sure, this is explained in the wml_p1_ipp(1) manpage.
Use $(bar) or one of other variants.

-- 
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