Skip Menu |

This queue is for tickets about the Apache2-FakeRequest CPAN distribution.

Report information
The Basics
Id: 123270
Status: new
Priority: 0/
Queue: Apache2-FakeRequest

People
Owner: Nobody in particular
Requestors: PETDANCE [...] cpan.org
Cc:
AdminCc:

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



Subject: Function definitions conflict with Apache2::Const
$ cat foo.pl use warnings; use strict; use 5.010; use Apache2::Const; use Apache2::FakeRequest; say "Apache2::Const=$Apache2::Const::VERSION"; say "Apache2::FakeRequest=$Apache2::FakeRequest::VERSION"; $ perl foo.pl Prototype mismatch: sub Apache2::Const::OK () vs none at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 98. Constant subroutine OK redefined at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 98. Prototype mismatch: sub Apache2::Const::DECLINED () vs none at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 99. Constant subroutine DECLINED redefined at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 99. Prototype mismatch: sub Apache2::Const::DONE () vs none at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 100. Constant subroutine DONE redefined at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 100. Prototype mismatch: sub Apache2::Const::REDIRECT () vs none at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 107. Constant subroutine REDIRECT redefined at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 107. Prototype mismatch: sub Apache2::Const::AUTH_REQUIRED () vs none at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 111. Constant subroutine AUTH_REQUIRED redefined at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 111. Prototype mismatch: sub Apache2::Const::FORBIDDEN () vs none at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 112. Constant subroutine FORBIDDEN redefined at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 112. Prototype mismatch: sub Apache2::Const::NOT_FOUND () vs none at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 113. Constant subroutine NOT_FOUND redefined at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 113. Prototype mismatch: sub Apache2::Const::SERVER_ERROR () vs none at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 118. Constant subroutine SERVER_ERROR redefined at /var/perl5.20.3/lib/site_perl/5.20.3/Apache2/FakeRequest.pm line 118. Apache2::Const=2.000009 Apache2::FakeRequest=0.04 This generates a lot of noise in our hourly smoke runs, making it harder to find real errors.