in reply to Re: POE::Wheel::Run and StdoutEvent
in thread POE::Wheel::Run and StdoutEvent

A better solution would be to store the wheel object in the session's heap, since wheels are tightly coupled to their sessions.

Replies are listed 'Best First'.
Re^3: POE::Wheel::Run and StdoutEvent
by carcassonne (Pilgrim) on Jun 06, 2006 at 23:44 UTC
    By using:

    $_HEAP->{theWheel} = POE::Wheel::Run->new(...)

    The console print is captured, but the app hangs and never returns. Is it normal for POE to still run after the subroutine has slept and is over ?

    I just looked at the preview of this reply and the msg formatter prints the HEAP var in a funny manner.

      Wrap your code in <code></code> tags.