Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^5: Doess MooseX::Storage duplicate an object referenced multiple times?

by stvn (Monsignor)
on Oct 25, 2010 at 16:02 UTC ( #867267=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Doess MooseX::Storage duplicate an object referenced multiple times?
in thread Does MooseX::Storage duplicate an object referenced multiple times?

We already discussed this on IRC, but I will put it here so that others can see.

MooseX::Storage does not handle recreating references in this way. It is simply a serialization module that takes an object, decomposes it and writes it out to disk in the chosen format. This works best with object trees, meaning objects that do not share references with other instances, kind of a DAG (directed acyclic graph) but not exactly.

What you have going on here is more of an object graph, which is more appropriate for KiokuDB, which does handle shared object references in the way you need them.

-stvn


Comment on Re^5: Doess MooseX::Storage duplicate an object referenced multiple times?
Re^6: Doess MooseX::Storage duplicate an object referenced multiple times?
by daverave (Scribe) on Oct 25, 2010 at 17:27 UTC
    Thank you again stvn, I am now making my first steps with KiokuDB.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://867267]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2014-07-22 10:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (109 votes), past polls