Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Storable Objects

by ikegami (Pope)
on Jul 13, 2009 at 18:07 UTC ( #779697=note: print w/ replies, xml ) Need Help??

in reply to Storable Objects

I am a bit put off by the frequency of people having bad times with Storable. Especially with serializing code refs

I imagine that's not a problem with Storable at all. Perl's internals weren't designed to be serialisable. There could be issues simply trying to access the necessary internals, to the point that support for it has always been broken and finally removed from Perl in 5.10. All modules will face these problems.

Comment on Re: Storable Objects
Replies are listed 'Best First'.
Re^2: Storable Objects
by BioLion (Curate) on Jul 13, 2009 at 18:30 UTC

    So, more or less, there is no solution that fundamentally outstrips any of the others?

    I guess my main concern is textualising the code refs in the objects. People seem to be happy with YAML Use/Dump/LoadCode methods... and i can modify the deserialization methods so that code refs are Safely inflated. I just wondered if anyone had any experience/advice/opinions on which of the many options produced the best results. (best in terms of performance/ease/maintainability etc...)

    The way YAML and Data::Dumper go about it seem pretty much the same (all the way down to B::Deparse...). So is it really a matter of personal preference?

    Thanks for your advice ikegami.

    Just a something something...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2015-11-27 18:43 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls