perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Landwehr <andre.landw...@gmx.net>
Subject Re: Sessions get mixed up ?
Date Thu, 11 Nov 2004 22:57:21 GMT
On Thu, Nov 11, 2004 at 11:36:50PM +0100, Stefan Cars wrote:
> > Andre Landwehr wrote:
> >Here is a thread from the time I had the problem, including
> >Geralds answer.
> >http://www.gossamer-threads.com/lists/modperl/embperl/11175#11175
> >
> >The link Gerald posted is no longer valid, but I think I found
> >the page here:
> >http://perl.apache.org/docs/general/perl_reference/perl_reference.html#my___Scoped_Variable_in_Nested_Subroutines

> Does this means that for example $udat{foo} can't be used inside a sub 
> that is created with sub { } and not [$ sub $] and included with the 
> 'do' syntax ?

To my understanding that is true. Not only %udat is affected but
everything you use in the sub that may be affected by closures,
though %udat is certainly the most annoying candidate from a
security point of view.

But maybe someone else can comment on that since my latest
experiences with Embperl are not very current anymore (I changed
to C/C++/Java development 2 years ago and have not done very much
with Embperl since then)

Andre

-- 
Earth. Air. Fire. Water.


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message