Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (18)
As of 2015-07-06 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls