Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

RE: (jcwren) RE: (3) Net::Ping not working

by merlyn (Sage)
on Sep 12, 2000 at 19:15 UTC ( [id://32114]=note: print w/replies, xml ) Need Help??


in reply to (jcwren) RE: (3) Net::Ping not working
in thread Net::Ping not working

OK, if it's just a connect to 80, let's do this (again with less typing):
use IO::Socket; for my $host(qw(www.slashdot.org www.deja.com www.perlmonks.org)) { IO::Socket::INET->new("$host:80") or warn "cannot connect to web of +$host\n"; }

-- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://32114]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-19 03:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found