RE: how to sleep 100 miliseconds?

2005-12-06 Thread Thomas Bätzler
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 conti

Re: how to sleep 100 miliseconds?

2005-12-06 Thread Elie De Brauwer
TOKO wrote: 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. Thanks for any ideas. TOKO

Re: how to sleep 100 miliseconds?

2005-12-06 Thread Bob Showalter
TOKO wrote: 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. Easist way IMO is to use Time::HiRes: use Time::HiRes qw(sleep); sleep(0.1); > than I found this solution: select undef, unde

how to sleep 100 miliseconds?

2005-12-06 Thread TOKO
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. Thanks for any ideas. TOKO -- To unsub