Re: Net::Server - how to hook post_accept




Define a sub post_accept_hook, rather than overriding post_accept in your
subclass.

http://search.cpan.org/~rhandom/Net-Server-0.94/lib/Net/Server.pm
"
$self->post_accept_hook()


For some reason - if i define post_accept_hook - it never gets called!
i just tried it again - and i can't seem to get that thing called.

How come the docs define

sub process_request {
}

and not process_request_hook?

there seems to be an inconsistency?
sub process_request { } works great - and its the same type of hook!

Jon

.



Relevant Pages