Re: [CDBI] Re: uniqueness of objects in memory??

[prev] [thread] [next] [Date index for 2005/10/24]

From: Perrin Harkins
Subject: Re: [CDBI] Re: uniqueness of objects in memory??
Date: 22:13 on 24 Oct 2005
On Mon, 2005-10-24 at 15:07 -0700, Phil Mitchell wrote:
> OTOH, I can run essentially the same code inside a single template
> inside my app:
> 
> [% prefs.home_page %]<br>  => X
> [% user.prefs.home_page %]<br>  => X
> 
> [% prefs.home_page('Y') %]<br>
> [% prefs.update() %]<br>
> 
> [% prefs.home_page %]<br>  => Y
> [% user.prefs.home_page %]<br> => X
> 
> ...and see the weird behavior.

Possible cloning side effects from the TT stash?

You can identify if the two refs are pointing to the same object by
printing their refaddr() values with Scalar::Util.

- Perrin


_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

(message missing)

[CDBI] uniqueness of objects in memory??
Phil Mitchell 03:32 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Perrin Harkins 16:12 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Phil Mitchell 17:42 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Perrin Harkins 18:41 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Christopher H. Laco 18:53 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Phil Mitchell 19:43 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
William Ross 19:50 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Phil Mitchell 19:35 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Perrin Harkins 19:52 on 24 Oct 2005

[CDBI] Re: uniqueness of objects in memory??
Edward J. Sabol 19:47 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Perrin Harkins 19:54 on 24 Oct 2005

[CDBI] Re: uniqueness of objects in memory??
Edward J. Sabol 20:03 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 20:18 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Christopher H. Laco 19:46 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Christopher H. Laco 19:56 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Michael Peters 20:23 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 20:31 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Bill Moseley 20:46 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 21:30 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 22:07 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Perrin Harkins 22:13 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 23:34 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Rod McChesney 03:15 on 25 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 03:48 on 25 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Perrin Harkins 04:18 on 25 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 06:08 on 25 Oct 2005

Generated at 14:18 on 27 Oct 2005 by mariachi v0.52