Skip Menu |

This queue is for tickets about the POE-Session-MessageBased CPAN distribution.

Report information
The Basics
Id: 43126
Status: resolved
Priority: 0/
Queue: POE-Session-MessageBased

People
Owner: Nobody in particular
Requestors: steltie [...] gmx.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.01
Fixed in: (no value)



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 ^^
Thanks for the bug report and the suggested fix. I've verified it works, and I just uploaded version 0.10 with your change.