Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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.

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 romping around the Monastery: (4)
As of 2016-10-25 06:14 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (315 votes). Check out past polls.