I used following method to get Embperl working in my system.

[- Execute ('other.html',"$a") -]

other.html

The value of a is [+ $param[0] +]

This works fine.

Vijay Nair
----- Original Message -----
From: Louis Trochatos <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 15, 2000 8:19 PM
Subject: EmbPerl and scope


> I am having trouble with embperl and scope. I read the FAQ on this but I
> still can't get it to work. As an example let's say I have two files:
>
> file1: index.html
> --------------------------
>
> [- $a = 1 -]
>
> [- Execute ('other.html') -]
>
> file2: other.html
> -----------------------
>
> The value is the variale a is:
> [+ $a +]
>
>
>
> when i bring up index.html it does import other.html fine but the $a
variale
> is empty - scope problem. What exactly do i need to do to these  files so
> they can talk to each other.
>
> Also does anyone know of a good embperl book on the market?
>
> thanks
>
> Louis
>
>
>

Reply via email to