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
>
>