Skip Menu |

This queue is for tickets about the POE CPAN distribution.

Report information
The Basics
Id: 3149
Status: resolved
Priority: 0/
Queue: POE

People
Owner: Nobody in particular
Requestors: poe.perl.org [...] sammal.pp.fi
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.26
Fixed in: (no value)



Subject: POE::Kernel::_explain_usage
POE-0.26, Perl-5.8.0, i86pc-solaris. In POE/Kernel.pm _explain_usage is called in various places this way: $self->_explain_usage(...) However, it is defined this way: sub _explain_usage { my $message = shift; local $Carp::CarpLevel = 2; ASSERT_USAGE and confess "<us> $message"; ... $message will be the POE::Kernel object, not a human-readable error message. Best regards, Jukka Suomela
The _explain_usage() call signature has been fixed to read: sub _explain_usage { my ($self, $message) = @_; local $Carp::CarpLevel = 2; ASSERT_USAGE and _confess "<us> $message"; ASSERT_RETVALS and _confess "<rv> $message"; TRACE_RETVALS and _carp "<rv> $message"; } Thank you for reporting this. It will be available in 0.27, when it is released. You can also get the latest code through anonymous CVS. See http://poe.perl.org/?Where_to_Get_POE -- Rocco Caputo - rcaputo@pobox.com - http://poe.perl.org/