in reply to Net::Ping duration question
before the ping call. This will cause Net::Ping to use Time::HiRes, and return a Float, instead of using normal (1 second) resolution, and returning an Integer.$p->hires(1);
Of course, this requires Time::HiRes to be installed/available.
Update: Dang - frozenwithjoy (++) has a higher Res, and beat me to the punch.
I hope life isn't a big joke, because I don't get it.
-SNL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::Ping duration question
by frozenwithjoy (Priest) on Jun 21, 2012 at 05:54 UTC | |
by NetWallah (Canon) on Jun 21, 2012 at 06:03 UTC | |
by frozenwithjoy (Priest) on Jun 21, 2012 at 06:08 UTC |