I hate call().  I really do.  It makes code un-POE-like.  And it can't
work w/ IKC.  However, it's really the best way to get an answer back.  In
IKC, you have to do $kernel->post(IKC=>'call', $specifier=>[params],
'callback_state') but this isn't compatible with session subscription.

So, how about also allowing a hash ref... or POE::Event object as a
specifier for event addresses?
    {
        to=>'some_session/some_event',
        sender=>$_[SENDER],
        reply=>'callback_event'
        errors_to=>'error_event' # temporary monitor
    }
of course, all of these could be IKC specifiers.

This way, we can ignore call() when playing with IKC.  We can deprecate
call().  We can live free!

-Philip

Reply via email to