Skip Menu |

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

Report information
The Basics
Id: 32439
Status: rejected
Priority: 0/
Queue: CGI-Application-Dispatch

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

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



Subject: Multiple inheritance required
I'm using V 2.12_01 but RT doesn't offer this in the Broken menu. I found I had to do this: use base qw(CGI::Application CGI::Application::Dispatch); in my app. Without the CGI::Application part I get a server error. So the code in the Synopsis needs a patch.
Multiple inheritance is not needed. CGI::Application::Dispatch is not meant to be used as a base class, but as something that sits outside of your application modules and dispatches requests to them based on your dispatch rules.