Re: Saving self

2004-03-03 Thread Jay Strauss
Hi, Is it possible to map the Connected state to an ObjectState in POE::Component::Client::TCP? I tried: sub start { my $self = shift; POE::Component::Client::TCP-new ( ... ObjectStates = [ $self ={

Re: Saving self

2004-03-03 Thread Rocco Caputo
On Wed, Mar 03, 2004 at 09:53:08AM -0600, Jay Strauss wrote: Hi, Is it possible to map the Connected state to an ObjectState in POE::Component::Client::TCP? I tried: sub start { my $self = shift; POE::Component::Client::TCP-new ( ... ObjectStates

Re: Saving self

2004-03-02 Thread Jay Strauss
Subject: Re: Saving self On Mon, Mar 01, 2004 at 08:43:36PM -0600, Jay Strauss wrote: Hello may be big but look at the sources of http://www.nongnu.org/zebot/ i use oo-design a search on Session should yield it :D -- ciao bboett

Saving self

2004-03-01 Thread Jay Strauss
Hi, I feel like I'm doing something wrong, but I don't see any other way to do this. I want to have an object that contains POE. When I new the object I have to save self in HEAP so that I can access the $self attributes from the inlineStates. I'm doing it like: sub new { my $class =

Re: Saving self

2004-03-01 Thread Rocco Caputo
On Mon, Mar 01, 2004 at 08:43:36PM -0600, Jay Strauss wrote: Hi, I feel like I'm doing something wrong, but I don't see any other way to do this. I want to have an object that contains POE. When I new the object I have to save self in HEAP so that I can access the $self attributes from the

Re: Saving self

2004-03-01 Thread Jay Strauss
Is there an beginners example you could point me at? The POE::Session example leaves me lost, and I don't see anything on the wiki Thanks Jay - Original Message - From: Rocco Caputo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 01, 2004 9:22 PM Subject: Re: Saving self