Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 about the Monastery: (6)
As of 2017-02-23 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (350 votes). Check out past polls.