Fra: Joshua Chamas [mailto:[EMAIL PROTECTED]]

...
> I can try a work around where the code does something like:
>
> sub Apache::ASP::Execute {
>   ...
>   local @INC = ($Global, @INC);
>   ...
> }
> 
> This is nice because @INC will be magically restored
> to how it was before after each script execute, so 
> that lots of ASP applications with different Global's
> set will not see each others Global directory.
>
> This may also mean that manipulations of @INC during
> an executing script will not be remembered later, but
> this is probably a good thing anyway.

That sounds like a terrific idea. It should solve my problems. 
Having the @INCs kept separate for different applications
is important too - as is the prevention of @INC pollution
- neatly prevented by this.

Henrik

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

Reply via email to