http://qs321.pair.com?node_id=1105943


in reply to [RESOLVED] Migrating mod_perl app to mod_perl 2

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.