in reply to working with 2 inputs
See IO::Select, select, threads, POE::Wheel::Follow or Coro. Likely, AnyEvent also provides an abstraction of a select loop.
It really depends how much frameworkness you need. IO::Select nicely? abstracts away most of the uglyness of select, which is why I listed it before the select call itself. All other modules are frameworks that more or less tie you into their respective idiom of doing IO and other event handling. AnyEvent tries to abstract away the main event loop.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: working with 2 inputs
by salva (Canon) on Oct 01, 2008 at 11:09 UTC | |
|
Re^2: working with 2 inputs
by sktron (Novice) on Oct 01, 2008 at 14:48 UTC | |
by almut (Canon) on Oct 01, 2008 at 18:41 UTC |