On Wed Sep 16 11:01:04 2009, RCAPUTO wrote:
Show quoted text> % perl -wle 'use Glib;use POE "Loop::Glib";alarm(5);POE::Kernel->run()'
> zsh: alarm perl -wle 'use Glib; use POE "Loop::Glib"; alarm(5);
> POE::Kernel->run()'
>
> In other words, POE::Kernel->run() doesn't return right away, even
> though no sessions have been created.
I can verify this happens here too.
apoc@blackhole:~$ POE_EVENT_LOOP="Glib" perl -MPOE -e 1
apoc@blackhole:~$ POE_EVENT_LOOP="Glib" perl -MPOE -e 'POE::Kernel->run'
^C
apoc@blackhole:~$
I pressed ctrl+c after a minute - the process wasn't pegging the cpu -
it was just idling...
Please let me know if you want me to dig into this further or to do
extra tests :)
--
~Apocalypse