The pod for AnyEvent::Handle contains <<SNIP

on_connect => $cb->($handle, $host, $port, $retry->())
This callback is called when a connection has been successfully established.

The peer's numeric host and port (the socket peername) are passed as
parameters, together with a retry callback.
SNIP

Is C<$retry->()> the best way to represent that a coderef is required
there? It's clear, but I would have written it C<\&retry>. And I would
have written something confusing.

I think Marc Lehmann has done it the right way.

Reply via email to