Skip Menu |

This queue is for tickets about the POE-Component-DBIAgent CPAN distribution.

Report information
The Basics
Id: 18758
Status: resolved
Worked: 5 min
Priority: 0/
Queue: POE-Component-DBIAgent

People
Owner: rdb [...] cpan.org
Requestors: AGRUNDMA [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.21
Fixed in: (no value)



Subject: Deprecated/broken POE::Session syntax
DBIAgent uses an old POE::Session syntax that is no longer supported. Here's a patch. --- /usr/local/share/perl/5.8.7/POE/Component/DBIAgent.pm 2003-12-02 03:40:00.000000000 -0500 +++ POE/Component/DBIAgent.pm 2006-04-17 13:12:50.000000000 -0400 @@ -237,9 +237,12 @@ $self->{pending_query_count} = 0; $self->{active_query_count} = 0; - POE::Session->new( $self, - [ qw [ _start _stop db_reply remote_stderr error ] ] - ); + POE::Session->create( + object_states => [ + $self => + [ qw [ _start _stop db_reply remote_stderr error ] ], + ], + ); return $self; }
From: Rob Bloodgood
On Mon Apr 17 13:15:47 2006, AGRUNDMA wrote: Show quoted text
> DBIAgent uses an old POE::Session syntax that is no longer supported. > Here's a patch.
Fixed.