>>>>> "H" == H Eising <[EMAIL PROTECTED]> writes:


[...]

    H> Everything works fine, the print statements work both inside
    H> parent & child, only thing that doesn't work is the
    H> kernel->post inside the child, the message doesn't show up on
    H> IRC. Any clue on this, and how I should fix it to get it to
    H> work ? Seems like from inside the child I can't send anything
    H> to the POE::Component::IRC. I was told I shouldn't use fork
    H> unless there's no POE-able way to do somethin, but I'm not sure
    H> how I would do this otherwise.

        The post doesn't work in the child because it's in a different
process (and hence has no connection to the parent's kernel).  If you
need a child process, use POE::Wheel::Run instead of forking for
yourself.


-- 
Fletch                | "If you find my answers frightening,       __`'/|
[EMAIL PROTECTED]   |  Vincent, you should cease askin'          \ o.O'
770 933-0600 x211(w)  |  scary questions." -- Jules                =(___)=
                      |                                               U

Reply via email to