in reply to How to pause 10ms in perl
#!/usr/bin/perl -w use strict; use Time::HiRes ('sleep'); print STDERR 'Pausing:'; sleep(0.01); ## Sleep for 1/100th of a second (10ms) print STDERR 'done',"\n";
It's worth mentioning that this isn't guaranteed to be ultra-accurate.
Anima Legato
.oO all things connect through the motion of the mind
|
|---|