Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Ping a Server

by OzzyOsbourne (Chaplain)
on Apr 28, 2004 at 12:40 UTC ( #348801=note: print w/replies, xml ) Need Help??


in reply to Ping a Server

my $IP=&resolve('Server'); print "$IP\n"; sub resolve(){ my $check=join('.',(unpack("C4", gethostbyname($_[0])))); return $check; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://348801]
help
Chatterbox?
[Lady_Aleena]: atcroft, perlpod doesn't have anything on it?

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2017-05-27 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?