TOKO <[EMAIL PROTECTED]> asked:
> hi. I'm new at perl and am looking for solution of let script 
> sleep for few miliseconds. I tried sleep(0.1); but it does 
> not work :) as I thought. than I found this solution: select 
> undef, undef, undef, .01; but it freezes script and it does 
> not continue.

Use usleep() from the Time::Hires module:
http://search.cpan.org/dist/Time-HiRes/

HTH,
Thomas


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to