Hello all,

I'm writing a Perl script that will ping all of the IPs that are setup on my 
server and print if they are active or not.  I'm using the following code:

use Net::Ping;

$p = Net::Ping->new();
$p->ping($ipaddress);

This should be working, but is not returning a 1 or 0, only a undef.  The 
address(es) I'm pinging are on the machine that is sending the 
request...does this have something to do with why this isn't working?

Any ideas on how I can do this?

Thanks,
Kevin
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to