Just ran into this issue with Apache::DBI 1.07:

[Sun Jul 13 14:16:02 2008] [error] Global $r object is not available. Set:
        PerlOptions +GlobalRequest
in httpd.conf at /home/phred/dev/perl/lib/site_perl/5.8.8/Apache/DBI.pm line 144.


Traced it from a bug report to:

http://rt.cpan.org/Public/Bug/Display.html?id=36346

and then

http://rt.cpan.org/Public/Bug/Display.html?id=29209


I see a couple issues with the patch that caused this, but I'm not sure what problem the patch was trying to solve.

I can offer up some tuits to release 1.08 and roll that patch back. I'm not sure how many users are using global $r with mod_perl, but I would guess that the global request is a bigger issue than the problem which the patch was supposed to solve.

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

Reply via email to