Subject: | Object states don't work |
Object states won't work.
When I tried to do $message->kernel->alias_set() I got this:
Can't call method "alias_set" on unblessed reference
So I changed the following part of the module's source code:
099: my $message = POE::Session::Message->new
100: ( $self, # session
101: $POE::Kernel::poe_kernel, # kernel
...
to:
099: my $message = POE::Session::Message->new
100: ( $object, # object
101: $self, # session
102: $POE::Kernel::poe_kernel, # kernel
Now it works ^^