Skip Menu |

This queue is for tickets about the POE CPAN distribution.

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

People
Owner: SUNGO [...] cpan.org
Requestors: martijn [...] eekeek.org
Cc:
AdminCc:

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



Date: Sat, 17 Apr 2004 15:03:04 +0200
To: bug-POE [...] rt.cpan.org
Subject: Allocate the session in a seperate sub
From: Martijn van Beers <martijn [...] eekeek.org>
Here's a patch for what I talked about with dngnand on irc. It puts the allocation of the session, at the end of new()/create() in a seperate sub, so you can override that instead of new/create This helps me as I want to replace the _start provided by the user in POE::Session::GladeXML2, and currently have to parse the params passed to create() myself, even though create() does an excellent job of that. Martijn

Message body is not shown because sender requested not to inline it.

this patch looks fine to me. only one question: do all tests pass? :)
thanks, applied. will be shipped with 0.29. and for the record, tests pass all the way back to 5.004.