Re: Newbie question about sessions

Alex _ <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
you can add an event that calls itself to your class.
 
,blah_evt => sub{ $_[KERNEL]->delay( blah_evt => 10 }

--- On Tue, 10/7/08, Artem Harutyunyan <[email protected]> wrote:

From: Artem Harutyunyan <[email protected]>
Subject: Re: Newbie question about sessions
To: [email protected]
Cc: [email protected]
Date: Tuesday, October 7, 2008, 10:35 AM

Hi Alex,

>
> POE::Kernel->post ('worker' => 'random');
> POE::Kernel->run();

Yes, that works. However this doesn't solve my problem. I want session
to stay alive and wait for (possible) future events. (I will need that
when I will use my class inside a server).

Artem.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.