Yeah, I think it should unset the variable in the runtime as well, but I wonder to what extent it could break existing apps one way or the other. It might be worth a try anyway.
--
Yeah, I think it should unset the variable in the runtime as well, but I wonder to what extent it could break existing apps one way or the other. It might be worth a try anyway
--
Original intent of what?The reason to undo MOD_PERL environment on the compile time to avoid the load time optimization done by CGI.pm and other apps, so that they can work safely in the PSGI environment. There was no special reason to keep that variables around back in the request time, but I wouldn't be surprised if some apps depending to figure out MOD_PERL environment to do something special even with PSGI, but IMO these apps are bound to be broken anyway.
--
I suggest you to open an issue on github issue tracker (https://github.com/plack/Plack) or even better, fork the code and submit a pull request.
What were the checks for MOD_PERL during runtime that you initially
encountered this with? Something on CPAN or something in your own
code?
I run a fairly sizable codebase under the Apache2 handler and I
haven't encountered this.
On Wed, Nov 28, 2012 at 11:58 PM, Abelard <abelard...@gmail.com> wrote:
>
>
> On Wednesday, November 28, 2012 10:51:02 AM UTC-8, Tatsuhiko Miyagawa wrote:
>>
>> I suggest you to open an issue on github issue tracker
>> (https://github.com/plack/Plack) or even better, fork the code and submit a
>> pull request.
>
>
> Ok, will do. Thanks.
>
> --
>
>
>
--