Thread Froschpopo goes POE (12 answers)
Opened by Froschpopo at 2005-04-06 15:04

renee
 2005-04-06 15:58
#53468 #53468
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
aus der Doku zu CPAN:POE::Session
Code: (dl )
1
2
3
4
5
6
7
8
_start 
_start is a session's initialization event. It tells a session that the Kernel has allocated and initialized resources for it, and it may now start doing things. A session's constructors invokes the _start handler before it returns, so it's possible for some sessions' _start states to run before $poe_kernel->run() is called.

Every session must have a _start handler. Its parameters are slightly different from normal ones.

SENDER contains a reference to the new session's parent. Sessions created before $poe_kernel->run() is called will have KERNEL as their parents.

ARG0..$#_ contain the parameters passed into the Session's constructor. See Session's new() and create() methods for more information on passing parameters to new sessions.
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Froschpopo goes POE