On 06/06/2006, at 1:59 AM, Chris Fedde wrote:
The wheel goes out of scope. Making it global will suffice but
usually it
gets stuffed into the HEAP. Of course it needs to detect the death
of the
child and delete the wheel to order to have a clean shutdown.
Ha!
I spent several hours last night puzzling over exactly this, this
morning the answer came to me in a pre-waking thought. What a waste
of neurons, others have asked and answered the problem for me :-)
I think it's worth a mention of this on the POE::Wheel::Run man page,
the example given specifically does *not* save the wheel object, and
it might be assumed by others that it's unnecessary.
The "Of course" makes sense in hindsight, but during my initial
hacking, just trying to get output from a program, that did not occur
to me.
- Justin
--
Justin Hawkins
[EMAIL PROTECTED]