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.
In reply to ping problem by ralijani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |