in reply to Re: using Net::DNS::Async
in thread using Net::DNS::Async

Can I ask for the link to the documentation you were looking at? Thanks a lot, by the way.

Replies are listed 'Best First'.
Re^3: using Net::DNS::Async
by Riales (Hermit) on Feb 29, 2012 at 18:23 UTC

    Sure: Net::DNS::Async

    Also, here's the relevant code snippet from the module:

    sub add { my ($self, $params, @query) = @_; my ($callback, @ns); if (ref($params) eq 'HASH') { @query = @{ $params->{Query} } if exists $params->{Query}; $callback = $params->{Callback}; @ns = @{ $params->{Nameservers} } if exists $params->{Nameserv +ers}; } else { $callback = $params; } (...) }