The current request will have exclusive rights to it since each apache 
engine has it's own perl engine. For your intents and purposes, a single 
perl engine is never servicing more than one request to completion at any 
given time.

Whether that environment variable survives untouched to the next request is 
another matter. but you mentioned that you did not care about that. So I 
guess it doesn't matter.

Later,
    Gunther

At 10:25 PM 5/7/00 -0400, Pierre J. Nicolas wrote:

>What would happen if I'm using the "CGI.pm" while running
>the modperl module and I set an environment variable in a cgi-based
>script with "$ENV{'var'} = $value.
>I only care that this variable doesn't get overwritten during
>this request.  Could another execution of the same script
>cause this env. variable to be updated or will the current request
>have exclusive rights to it.  In other words, is it global to
>the current request or the entire "modperl" environment?
>
>
>Thanks,
>
>Pierre
>
>

__________________________________________________
Gunther Birznieks ([EMAIL PROTECTED])
Extropia - The Web Technology Company
http://www.extropia.com/

Reply via email to