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 (Vicar)
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 about the Monastery: (5)
As of 2014-11-28 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (192 votes), past polls