On Tue, Dec 2, 2008 at 5:49 PM, Shane McCarron <[EMAIL PROTECTED]> wrote:
> In looking at the mod_perl 2 documentation, I see that using a SetHandler
> perl-script has very different behavior than using a SetHandler modperl -
> could that be related at all?

Yes.  Quoting the docs:
Several special global Perl variables are saved before the response
handler is called and restored afterwards (similar to mod_perl 1.0).
This includes: %ENV, @INC, $/, STDOUT's $| and END blocks array
(PL_endav).

In other words, if you make any changes to @INC during a request, they
will be lost.

You might have an easier time reproducing this problem if you force
new child processes to be spawned by setting MaxRequestsPerChild to 1.

- Perrin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to