Skip Menu |

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

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

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

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



Subject: Undefined subroutine &main::GET
This is under Debian etch with Perl 5.8.8 and Apache 2.2.6. Here's part of the output: Please provide a full path to (optional) 'apxs' executable: [] /home/ron/httpd/prefork/bin/apxs [warning] running with new config opts: /usr/bin/perl /home/ron/.cpan/build/CGI-Application-Dispatch-2.11-lbSqLC/t/TEST -bugreport -verbose=0 -httpd /home/ron/httpd/prefork/bin/httpd -apxs /home/ron/httpd/prefork/bin/apxs /home/ron/httpd/prefork/bin/httpd -d /home/ron/.cpan/build/CGI-Application-Dispatch-2.11-lbSqLC/t -f /home/ron/.cpan/build/CGI-Application-Dispatch-2.11-lbSqLC/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS using Apache/2.2.6 (prefork MPM) waiting 60 seconds for server to start: .. waiting 60 seconds for server to start: ok (waited 0 secs) server localhost:8529 started t/cgi..........ok t/handler......Undefined subroutine &main::GET called at t/handler.t line 24. # Looks like your test died before it could output anything. t/handler...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 61/61 subtests Test Summary Report ------------------- t/handler.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 61 tests but ran 0. Files=2, Tests=27, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.88 cusr 0.10 csys = 1.01 CPU) Result: FAIL Failed 1/2 test programs. 0/27 subtests failed. [warning] server localhost:8529 shutdown [ error] error running tests (please examine t/logs/error_log) WONKO/CGI-Application-Dispatch-2.11.tar.gz /usr/bin/make test -- OK Running make install
From: mpeters [...] plusthree.com
It seems that we're not importing GET() from Apache::TestRequest. I'm not sure why this worked before unless it implicitly exported GET and POST in previous versions. Please try the 2.12_01 that was just uploaded to CPAN.
Fixed in 2.12_01
Subject: Re: [rt.cpan.org #31992] Undefined subroutine &main::GET
Date: Tue, 01 Jan 2008 09:22:11 +1100
To: bug-CGI-Application-Dispatch [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
On Mon, 2007-12-31 at 15:49 -0500, Michael Peters via RT wrote: Hi Michael Show quoted text
> Please try the 2.12_01 that was just uploaded to CPAN.
Yep - Installed without error. -- Ron Savage ron@savage.net.au http://savage.net.au/index.html
fixed in the upcoming 2.12 release