Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How to wait for events, and not lose any, while processing them ?

by jfroebe (Parson)
on Jan 26, 2009 at 10:42 UTC ( #738902=note: print w/replies, xml ) Need Help??


in reply to How to wait for events, and not lose any, while processing them ?

One option is to use inotify with an event loop such as POE. Working example: Example code using Perl’s Linux::Inotify2 module with POE

Jason L. Froebe

Blog, Tech Blog

  • Comment on Re: How to wait for events, and not lose any, while processing them ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://738902]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2016-12-05 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (89 votes). Check out past polls.