in reply to Re^2: Time::HiRes sleep does not always work
in thread Time::HiRes sleep does not always work
Try printing gettimeofday() - time(). My suspicion is that they are exactly the same. And the cause is that at runtime Perl checks whether it can load the system gettimeofday function, and can't find it on one machine but can on another, leading to different results.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Time::HiRes sleep does not always work
by tone (Novice) on Aug 19, 2008 at 12:34 UTC | |
by tilly (Archbishop) on Aug 19, 2008 at 21:39 UTC | |
by BrowserUk (Patriarch) on Aug 19, 2008 at 23:42 UTC | |
by tilly (Archbishop) on Aug 20, 2008 at 22:26 UTC | |
by BrowserUk (Patriarch) on Aug 21, 2008 at 00:14 UTC | |
|