Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 12742
Status: resolved
Priority: 0/
Queue: CGI

Owner: Nobody in particular
Requestors: imacat [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Non-Numeric MOD_PERL_API_VERSION Not Solved Yet in 3.09
Download (untitled) / with headers
text/plain 283b
The problem mentioned in 3.09 Changes is not fully solved yet. CGI::Cookies also has the same problem. root@rinse:~# httpd -t Use of uninitialized value in numeric eq (==) at /usr/lib/perl5/5.8.6/CGI/ line 26. Syntax OK root@rinse:~# A patch to fix it is attached.
diff -u -r --- Fri Apr 8 06:40:12 2005 +++ Tue May 10 22:06:40 2005 @@ -23,7 +23,7 @@ # Turn on special checking for Doug MacEachern's modperl my $MOD_PERL = 0; if (exists $ENV{MOD_PERL}) { - if ($ENV{MOD_PERL_API_VERSION} == 2) { + if (exists $ENV{MOD_PERL_API_VERSION} && $ENV{MOD_PERL_API_VERSION} == 2) { $MOD_PERL = 2; require Apache2::RequestUtil; require APR::Table;
This is fixed in 3.11

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to