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
In reply to Re: Net::Ping duration question
by NetWallah
in thread Net::Ping duration question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |