[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: NEWBIE WARNING: Is it possible to read include variables from perl
- From: Michael Attili <nospam@thanx>
- Date: Sun, 12 Mar 2000 16:11:55 -0500
I use something like:
#use wml::bar bar=FooBar
in the including document and then:
$(bar)
in bar.wml will evaluate to FooBar. See
http://www.engelschall.com/sw/wml/docs/backend/wml_p1_ipp.html
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