Re: Shutting down kernel

2004-02-17 Thread Nick Williams
Rocco Caputo wrote: On Mon, Feb 16, 2004 at 04:58:42PM -0600, Luke A. Kanies wrote: Is there a stop analog to $poe_kernel-run()? Yes. An experimental stop() was introduced in version 0.28. Most cool! I didn't know about this until now - I've just switched over to using it and it

Shutting down kernel

2004-02-16 Thread Luke A. Kanies
Hi all, I've got a simple file watcher that forwards the contents of the files on to a TCP server. If my configuration is somehow messed up and I can't open any files, I want the watcher to die. Obviously, I can call 'die', but I can't seem to find a graceful way to just tell the kernel to pull

Re: Shutting down kernel

2004-02-16 Thread Andrew Chen
$kernel-signal($kernel, UIDESTROY); On Mon, 16 Feb 2004, Luke A. Kanies wrote: Hi all, I've got a simple file watcher that forwards the contents of the files on to a TCP server. If my configuration is somehow messed up and I can't open any files, I want the watcher to die. Obviously, I

Re: Shutting down kernel

2004-02-16 Thread Rocco Caputo
On Mon, Feb 16, 2004 at 04:58:42PM -0600, Luke A. Kanies wrote: Is there a stop analog to $poe_kernel-run()? Yes. An experimental stop() was introduced in version 0.28. -- Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/