I tend to use Net::Ping for this sort of thing. The CPAN Testers results say it's highly portable. Of course, you have to choose your ping protocol, and Net::Ping does not support absolutely everything. I tend to use icmp, which requires privilege, at least under a non-Windows system.
In reply to Re: writing a utility to determine whether I have a working wifi connection
by Anonymous Monk
in thread writing a utility to determine whether I have a working wifi connection
by Aldebaran
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |