P is for Practical | |
PerlMonks |
Re^2: Callback multiplexerby Dallaylaen (Chaplain) |
on Apr 05, 2013 at 15:28 UTC ( [id://1027153]=note: print w/replies, xml ) | Need Help?? |
Yes, using begin/end is a possible solution. For instance, Twiggy is using logic similar to this. However, I would like to be protected from a callback firing twice. I would also like to untie the application logic from condvar handling - it's much easier to develop modules when they just rely on a running event loop.
In Section
Seekers of Perl Wisdom
|
|