Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Module Net-Ping

by Enlil (Parson)
on Sep 23, 2002 at 17:06 UTC ( #200168=note: print w/replies, xml ) Need Help??


in reply to Module Net-Ping

Try changing my $p = Net::Ping->new('udp', $timeout);
to
my $p = Net::Ping->new('tcp', $timeout);
or
my $p = Net::Ping->new('icmp', $timeout);
if you can set the setuid to root (with the icmp).

-Enlil

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://200168]
help
Chatterbox?
[james28909]: but then you have the others as well
[Lady_Aleena]: Renaming things like get_THAC0 to just THAC0 was easy. These are harder.
[james28909]: consolidate the three subs into one
[Lady_Aleena]: Um, what?
[james28909]: check is is data or hash or array and do tasks then return needed data
[Lady_Aleena]: james28909, you might want to look at the other two on my scratchpad.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2017-05-24 04:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?