- or download this
# Hopefully this is never a routeable host
is($p->ping("172.29.249.249"), 0, "Can't reach 172.29.249.249"
- or download this
t/200_ping_tcp.t ..... 1/13
# Failed test 'Can't reach 172.29.249.249'
...
# got: '1'
# expected: '0'
- or download this
# Is the ultimate answer 42?
is( ultimate_answer(), 42, "Meaning of Life" );
- or download this
$p->ping($host [, $timeout]);
Ping the remote host and wait for a response....the success flag will
+be 1 if the host is reachable and 0 if it is not...