On Wed, 2004-09-22 at 19:37, [EMAIL PROTECTED] wrote: > So we have a script that takes 3-4 seconds to execute, each variable is > defined with my $var. and when the script ends it resets the value of the > variables using undef. > > If multiple users execute the script within those 3-4 seconds will the > variables still be shared between them?
No, absolutely not. No variables are ever shared between mod_perl processes. What can happen though is that variables retain their values between runs of the script in the same process. This only happens with "my" variables if you are accidentally creating closures. If you think this is happening to you, please post some code that demonstrates the problem so we can have a look and give you advice. - Perrin -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html