Gerald Richter wrote:
> 
> > The following code works under EmbperlObject (1.3.4):
> >
> > [$ var $xxx $]
> > [$ sub foo $]
> >    [-
> > $xxx = 1;
> > $yyy = 2;
> >    -]
> > [$ endsub $]
> >
> > Perhaps I misunderstand the use of [$ var $], but I thought it would
> > catch the use of $yyy here, because it wasn't listed in the [$ var $].
> > Is this a bug or expected behavior?
> >
> 
> Looks more like a bug. Could you try to do a fresh restart. Is $yyy catched
> on the first request ? Since the page is only compiled once, it would be
> possible, that this gives only an error on the first request, which is of
> course not how it should be.

I have tried restarting the server, with the same result (i.e. no
error).
I also tried putting the [$ var $] declaration inside the [$ sub $],
with no difference.

Thanks Gerald,

-Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to