Chad_MacArthur has asked for the wisdom of the Perl Monks concerning the following question:
THANKS HELP FOR ANY HELP# DNS LOOKUP ! $packet = $res->query($hostname); if (!$packet) { warn "Unable to lookup data for host from server"; } foreach $rr ($packet->answer) ##THE ERROR OCCURS HERE!!! { $result{$server}=$rr->address; } Data::Dumper->Dump([\%result],["result"]);
20040526 Edit by Corion: Moved code into code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Warning message in Perl Net:DNS perl module address in DNS lookup!!
by jepri (Parson) on May 26, 2004 at 09:44 UTC |