mjd-perl-pm on Wed, 30 Oct 2002 10:57:59 -0500 |
Urb LeJeune <urb@usats.com>: > Thanks, great idea. Glad I could help. > my ($Name,$Alias,$Type,$Length,@Addresses) = gethostbyname($Domain); I think it might be simpler here to just write my $Address = gethostbyname($Domain); Then this: > my $IPaddress = join('.',unpack('C4',$Addresses[0])); becomes: my $IPaddress = join('.',unpack('C4',$Address); **Majordomo list services provided by PANIX <URL:http://www.panix.com>** **To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**
|
|