Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Trigger an event from outside an event handler

0 views
Skip to first unread message

pablo baez

unread,
Mar 29, 2016, 12:15:02 PM3/29/16
to p...@perl.org
Hi,

I'm a POE newbie and looking at the documentation, I don't find a way to
trigger an event of a specific session, from outside an event handler of
that session. How can I do that?

Thanks in advance.

Rocco Caputo

unread,
Mar 29, 2016, 12:30:03 PM3/29/16
to POE Mailing List
POE::Kernel->post( $destination, "event", @optional_args );

--
Rocco Caputo <rca...@pobox.com>

pablo baez

unread,
Mar 31, 2016, 10:00:02 AM3/31/16
to p...@perl.org
El 29/03/16 a las 13:13, Rocco Caputo escribió:
> POE::Kernel->post( $destination, "event", @optional_args );
>

I found the answer a few minutes after posting my question here. Thank
you very much though.

Regards,

Pablo
0 new messages