Skip Menu |

This queue is for tickets about the CGI-Application-Dispatch CPAN distribution.

Report information
The Basics
Id: 16376
Status: resolved
Priority: 0/
Queue: CGI-Application-Dispatch

People
Owner: Nobody in particular
Requestors: adam.thick [...] strategicdata.com.au
Cc:
AdminCc:

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



Subject: MOD_PERL_API_VERSION - unnecessary warnings
when running CGI::Application::Dispatch 1.04 under perl 5.8.4, Apache/1.3.33 (Debian GNU/Linux), mod_perl V1 unnecessary warnings are emitted. The attached patch fixes this. Thanks, Adam Thick.
--- /root/Dispatch.pm 2005-12-09 13:08:51.523187336 +1100 +++ /usr/share/perl5/CGI/Application/Dispatch.pm 2005-12-09 13:03:03.828045032 +1100 @@ -9,7 +9,7 @@ BEGIN { if( $ENV{MOD_PERL} ) { - $MP2 = $ENV{MOD_PERL_API_VERSION} == 2; + $MP2 = $ENV{MOD_PERL_API_VERSION} && $ENV{MOD_PERL_API_VERSION} eq '2'; if( $MP2 ) { require Apache2::Const; require Apache2::RequestUtil;
On Thu Dec 08 21:17:44 2005, guest wrote: Show quoted text
> when running CGI::Application::Dispatch 1.04 under perl 5.8.4, > Apache/1.3.33 (Debian GNU/Linux), mod_perl V1 unnecessary warnings are > emitted. The attached patch fixes this.
This has been fixed in the 2.00 development release. Sorry it took me so long to get back on this.