Quick suggestion (haven't got time to fully research - sorry). If your handler is not being called as a class method, maybe you should change the declaration to look like this:
sub handler : method { my($class, $req) = @_; ... }
I vaguely recall that the method vs function distinction changed from being declared by a prototype to an attribute some time in the mod_perl 1 days.
In reply to Re: Migrating mod_perl app to mod_perl 2
by grantm
in thread [RESOLVED] Migrating mod_perl app to mod_perl 2
by cLive ;-)
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |