in reply to Perfectly Poor Ping Problem
tryprint "OK \n" if $p->ping("$push_ip_address",2);
try adding || die on each of the lines you suspect is failing. this construct is so much your friend, it's hard to describe.$p->ping("$push_ip_address",2) || die "Can't ping address $push_ip_add +ress -- perl reports $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perfectly Poor Ping Problem
by deprecated (Priest) on Feb 23, 2001 at 05:16 UTC |