http://www.perlmonks.org?node_id=1027153


in reply to Re: Callback multiplexer
in thread Callback multiplexer

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.