Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Please help me in goto statement

by ikegami (Patriarch)
on Jun 05, 2009 at 15:02 UTC ( #768818=note: print w/replies, xml ) Need Help??


in reply to Re: Please help me in goto statement
in thread Please help me in goto statement

Change
last if eval {`ping $ip`; 1};
to
last if eval { `ping $ip`; !$? };
and you now check the value returned by ping as well.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-08-14 21:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?