Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Roll your own Event-loop

by elmex (Friar)
on Apr 15, 2008 at 09:56 UTC ( #680464=note: print w/ replies, xml ) Need Help??

in reply to Roll your own Event-loop

The Tutorial is very nice. But these days there is AnyEvent on CPAN, which abstracts away any specific event loop. It has backends for Glib, Tk (*sigh*), EV, Event, Coro and also it's own pure-Perl implementation (via select). It's equally useful and as good for quick scripts as for large applications.

It doesn't matter much for the application, but if you are going to write a module that requires waiting for I/O events, AnyEvent is a very good choice. It doesn't need or enforce a framework like POE but can still be used by those.

Comment on Re: Roll your own Event-loop

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2015-11-27 21:44 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (734 votes), past polls