perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Cars <ste...@snowfall.se>
Subject Re: Sessions get mixed up ?
Date Thu, 11 Nov 2004 22:36:50 GMT
Hi!

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 ?

Kind Regards,
Stefan Cars

Andre Landwehr wrote:
> On Wed, Nov 10, 2004 at 10:25:24PM +0100, Stefan Cars wrote:
> 
>>Correct, it seems that they are doing "do 'inc.pl'" alot, is there 
>>around it or do we really need to change it to be [$ sub $] instead ? Or 
>>can we fix our subs to not close ??  Do you have any URL's to this ?
> 
> 
> 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
> 
> Andre
> 


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


Mime
View raw message