On Wed, 6 May 2009 01:33:03 +0000 (UTC)
b-sub-bdf0...@rope.net wrote:

> On Tue, 5 May 2009, Jared Johnson wrote:
> 
> > In current qp it would be about like so:
> >
> > sub hook_pre_connection {
> >     my ($self,$transaction,%arg) = @_;
> >     my $port = $arg{local_port};
> > }

> Exactly what I want. Thanks.
> 
> Always more than one way to do it. (But there's still room for more
> complete documentation!)
At least there's an example (hosts_allow) on how it works... the
current docs/hooks.pod lists all of %args for hook_pre_connection. If
something else is missing in the docs, feel free to submit patches :)

        Hanno

Reply via email to