in reply to How to sleep 1 microsecond?
use Time::HiRes qw(time); my $until = time + 0.00_001; 1 while time < $until;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to sleep 1 microsecond?
by sophate (Beadle) on Aug 18, 2012 at 10:42 UTC | |
by tobyink (Canon) on Aug 18, 2012 at 11:27 UTC |