Re: Component::Server::TCP tcp wrappers suggestion

2006-10-26 Thread Rocco Caputo
On Oct 18, 2006, at 10:00, Jorge Bras wrote: IMHO, it would be great if Component::Server::TCP, had support for tcp wrappers. Right know I'm using Net::TCPwrappers for this. But if POE supported it would be a must, I think. Looking at the SYNOPSIS for Net::TCPwrappers, you should be able to

Re: POE::Kernel->run() returning?

2006-10-26 Thread Matt Sickler
run() only returns when all sessions have died. A session dies when there is nothing left for it to process; an alias doesnt keep it alive when the only thing keeping every session alive is an alias. On 10/25/06, Tom Lanyon <[EMAIL PROTECTED]> wrote: Hi All, Having a problem with a small app I

POE::Kernel->run() returning?

2006-10-26 Thread Tom Lanyon
Hi All, Having a problem with a small app I was fiddling with. I have ASSERT_DEFAULT and TRACE_DEFAULT on and I can see all my sessions being created, and at the end of the test script I call $poe_kernel->run(), however I'm receiving a "POE::Kernel's run() method was never called". To debug, I

Re: Got it! - POE newbie - text-less interface

2006-10-26 Thread jpolache
It helps to reference vars within subroutines (my ( $kernel, $session, $heap ) = @_[ KERNEL, SESSION, HEAP ];). Perhaps @_[HEAP] alone would have worked, but chars are cheap. $|++; use strict; use diagnostics; use warnings; use Tk; use POE; use Win32::Sound; use POE::Component::SubWrapper; PO