Greetings.
In order to have many handlers in a file, I've put the following lines
and other, similar lines in my virtual host configuration:
PerlAccessHandler JetSet::Handler->AccessHandler
PerlResponseHandler JetSet::Handler->ResponseHandler
Then, my handlers look like this:
sub ResponseHandler
{
my (undef, $r) = @_;
# ...
}
This seems to work well enough, but just today, I thought there might be
some reason to not do this. I searched through the documentation and
couldn't find anything, but it's still nagging me.
Is there anything inherently Bad about doing this?
I think the undef $self is bugging me the most, but I don't know why
this would cause any problems.
Thanks.
Colin