Re: Newbie question about sessions

"Artem Harutyunyan" <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
Hi Gary,



> I believe you need to do it via the KERNEL reference that is passed into
> the subroutine when POE starts the session, like so...
>
> sub _start
> {
>  my $kernel = @_[KERNEL];
>  print "Alias was set in _start\n" unless $kernel->alias_set('worker');
> }

This does not seem to help. I am getting the same output.

>
>
> Peace,
> Gary
>
>
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.