Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2014-12-22 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (112 votes), past polls