>>handlers are commonly named "handler" but it's not required.
in reply to Re: Convert SOAP service from CGI to Mod-Perl (ModPerl::Registry)
in thread Convert SOAP service from CGI to Mod-Perl (ModPerl::Registry)
Just to clarify -- I did not say the handler had to be called "handler". What I said was the handler must contain a primary function, handler(), the same way an object definition must contain a function, new(), in order to be instantantiated as such. This IS REQUIRED by Apache, and hence mod perl. If you DO NOT have such a function, you will get the following apache error, eg:
failed to resolve handler Hello
I was just guessing that the OP was looking at an example "package handler" that had the primary function, handler(), and decided to rename not just the package -- which can be called anything, but that will be the name you use to register it -- and the handler() function, which would be a mistake, because it MUST be called handler() for the module to work.