nick has asked for the wisdom of the Perl Monks concerning the following question:
This returns meaningless data, such as: Øsló or any other random ASCII string, I remember this working but now it isn't ... Any suggestions?my $hostname = 'yahoo.com'; my $ip = gethostbyname($hostname); print "$ip\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: gethostbyname not working
by myocom (Deacon) on Mar 27, 2001 at 01:59 UTC | |
by Anonymous Monk on Mar 27, 2001 at 02:32 UTC | |
by nick (Sexton) on Mar 27, 2001 at 03:54 UTC | |
by Anonymous Monk on Mar 27, 2001 at 04:35 UTC | |
by Clownburner (Monk) on Mar 27, 2001 at 20:35 UTC | |
by myocom (Deacon) on Mar 27, 2001 at 03:10 UTC | |
by nick (Sexton) on Mar 27, 2001 at 02:14 UTC | |
by tadman (Prior) on Mar 27, 2001 at 23:19 UTC | |
by myocom (Deacon) on Mar 27, 2001 at 02:18 UTC |