ralijani has asked for the wisdom of the Perl Monks concerning the following question:
and run perl ping.pl, i didnot get any answer,and it doesn't print any things.is it correct or not. thanks for ur help.use Net::Ping; $host=127.0.0.1; $p = Net::Ping->new(); print "$host is alive.\n" if $p->ping($host); $p->close();
Edit: Added <code> tags, larsen.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ping problem
by jasonk (Parson) on Feb 28, 2003 at 15:17 UTC | |
by mowgli (Friar) on Mar 01, 2003 at 10:55 UTC | |
by ralijani (Acolyte) on Mar 04, 2003 at 13:10 UTC | |
by mowgli (Friar) on Mar 04, 2003 at 13:24 UTC |