http://www.perlmonks.org?node_id=779697


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...