in reply to Solution to broken Net::Ping
I am guessing its the module
guessing virtually guarantees it is not the module
Ah yes, and you are the first person to have noticed this bug since 1994. Sure.
The Net::Ping description says
You may choose one of six different protocols to use for the ping. The "tcp" protocol is the default. Note that a live remote host may still fail to be pingable by one or more of these protocols. For example, www.microsoft.com is generally alive but not "icmp" pingable.
$ perl -MNet::Ping -le " print !! Net::Ping->new->ping( shift ) " loca +lhost 1 $ perl -MNet::Ping -le " print !! Net::Ping->new->ping( shift ) " goog +le.com $ perl -MNet::Ping -le " print !! Net::Ping->new( qw/syn/ )->ping( shi +ft ) " google.com 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Solution to broken Net::Ping
by solignis (Initiate) on Dec 16, 2011 at 09:16 UTC | |
by Anonymous Monk on Dec 16, 2011 at 09:29 UTC | |
by thargas (Deacon) on Dec 16, 2011 at 14:33 UTC |