Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by stvn (Monsignor)
on Oct 25, 2010 at 16:02 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://867267]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 13:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found