Re: Class::Data::Inheritable and persistence.

[prev] [thread] [next] [Date index for 2004/07/08]

From: Vince Veselosky
Subject: Re: Class::Data::Inheritable and persistence.
Date: 10:51 on 08 Jul 2004
Tony Bowden wrote:

>On Wed, Jul 07, 2004 at 06:59:15PM -0400, Vince Veselosky wrote:
>  
>
>>I suppose it is fine, as long as none of the data is meant to be changed 
>>at run time. 
>>    
>>
>
>Changing class data at runtime will have lots of strange effects
>regardless of your environment. That's why its class data and not
>instance data.
>
>  
>
>>I only noticed it because I was storing a Logger type object in a class 
>>property (so that my entire class hierarchy could use a uniform logging 
>>interface), and I got strange behavior because the object persisted.
>>    
>>
>
>Because the object persisted, or because the class persisted?
>
>  
>
Both, but the object persisting was the problem. Moral to the story: 
don't do that. Lesson learned on my part, sorry to bug you about it. :)

-Vince

(message missing)

Class::Data::Inheritable and persistence.
Vince Veselosky 21:56 on 07 Jul 2004

Re: Class::Data::Inheritable and persistence.
Tony Bowden 22:03 on 07 Jul 2004

Re: Class::Data::Inheritable and persistence.
Vince Veselosky 22:59 on 07 Jul 2004

Re: Class::Data::Inheritable and persistence.
Tony Bowden 08:44 on 08 Jul 2004

Re: Class::Data::Inheritable and persistence.
Vince Veselosky 10:51 on 08 Jul 2004

Re: Class::Data::Inheritable and persistence.
Michael G Schwern 20:13 on 08 Jul 2004

Re: Class::Data::Inheritable and persistence.
Tony Bowden 23:13 on 08 Jul 2004

Re: Class::Data::Inheritable and persistence.
Michael G Schwern 00:45 on 09 Jul 2004

Re: Class::Data::Inheritable and persistence.
Perrin Harkins 03:51 on 09 Jul 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52