Other way, complicated, but gives u more accurate information isif($input =~ /^\d+.\d+.\d+.\d+$/) { my $name = gethostbyaddr(inet_aton($input),AF_INET); }
In reply to Re: IP address to Hostname
by imrags
in thread IP address to Hostname
by sanPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |