handler() is the name of the sub that mod_perl automatically calls if you tell it to use your module as a content handler and are not using something else like Apache::Registry. Are you trying to use Apache::Registry? Do you have a handler sub in your module?