Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: making something happen in real time

by lidden (Curate)
on Nov 06, 2005 at 19:31 UTC ( [id://506143]=note: print w/replies, xml ) Need Help??


in reply to making something happen in real time

Seems to me you should use Time::HiRes. I use that one combined with Tk's after metod and it works well for me but my prog can have larger errors then yours.

Replies are listed 'Best First'.
Re^2: making something happen in real time
by bcrowell2 (Friar) on Nov 06, 2005 at 20:07 UTC
    Seems to me you should use Time::HiRes.
    Ah, thanks, that's helpful! That fixes the portability problem with using `date`. Calling Time::HiRes::usleep instead of using select didn't fix the latency problem, though.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://506143]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-23 18:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found