Perl: the Markov chain saw | |
PerlMonks |
Does MooseX::Storage duplicate an object referenced multiple times?by daverave (Scribe) |
on Oct 25, 2010 at 12:48 UTC ( [id://867211]=perlquestion: print w/replies, xml ) | Need Help?? |
daverave has asked for the wisdom of the Perl Monks concerning the following question:
I'm experiencing some trouble with MooseX::Storage. You can read more about it at SO. It seems to me as if my use of MooseX::Storage causes object duplication: suppose I'm serializing obj1, which has multiple references to an instance of obj2. Before serialization, there's only a single copy of obj2 (and multiple references to it). After serialization and de-serialization there are multiple copies of obj2. Is that how MooseX::Storage suppose to work?
Back to
Seekers of Perl Wisdom
|
|