Mailing List Archive

Catalyst::Engine problem
> I guess
>
> sub handler {
> my ( $class, $r ) = @_;
>
> should be
>
> sub handler ($$) {
> my ( $class, $r ) = @_;
>
> in Engine.pm

That is the correct method for mod_perl 1. For mod_perl 2 the correct
sub declaration is:

sub handler : method {
my ( $class, $r ) = @_;

HTH,
Kiki