[rochester-pm-list] ping

Bryan BMD5456 at ritvax.isc.rit.edu
Mon Jan 3 15:53:41 CST 2000


This is my code,

#!/usr/bin/perl
print "Content-type: TEXT/HTML\n\n";
print "start ping<P>";
use Net::Ping;
$p = Net::Ping->new() or die "Can't create new ping object: $!\n";
print "yahoo.com is alive" if $p->ping('[D');
$p->close;
print "end ping";

Why doesnt it work?

I am using 9netave's server... and the code works, but returns only my start 
and end print's thats it... anyone have any pointers for me?

-Bryan



More information about the Rochester-pm mailing list