[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: using image size functions in ePerl
- From: Denis Barbier <nospam@thanx>
- Date: Fri, 12 Nov 1999 14:37:32 +0100 (CET)
On Wed, 10 Nov 1999, Xose Manoel Ramos wrote:
> El Mon, Nov 08, 1999 at 04:41:00PM +0100, Denis Barbier contaba:
>
> >But your code should work without the ``use lib'' statements, they
> >are provided within /usr/lib/wml/include/sys/boot.wml
>
> Thanks for the tip. This makes me ask another (probably obvious)
> question...
>
> All the Perl code is executed at the same time? I mean, the
> variables, definitions and everything are the same for each section
> of embeded code?
>
>
> Will work something like:
>
> <:
> $x="test
> :>
>
> <:
> print $x."\n";
> :>
>
> I suppose the answer is yes. Otherwise, somebody can explainme what
> does the code in `boot.wml` does.
>
> (I am intersted to use this in my own code)
Answer is yes.
The boot.wml file is automatically prepended to input file if pass 3
is run by WML, so you don't have to include it yourself. Same for all
wml::sys::* files.
--
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