If you're aiming for using such a beast directly as an Apache handler, you could say:
package My::App; use base 'CGI::Application'; sub handler { my $r = shift; __PACKAGE__->new->run; } # Rest of CGI::Application code
Nothing to it, really. No need for wheel-reinvention when this wheel will do what you want.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In reply to Re: RFC: Apache::Controller
by hardburn
in thread RFC: Apache::Controller
by revdiablo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |