in reply to Burned by Storable

I think your problem is discussed in the section files from future versions of Storable in the Storable. Basically, there is no generic way to have guaranteed backward compatible generic (de)serialisation - SQLite also has the problem of compatibility between the SQLite versions 2 and 3. If you really, really want a "backward+forward compatible" way of serializing your data, ASCII is your only hope because if all else fails, you can edit it from within vi.

As a general approach, you shouldn't upgrade your machines separately, at least not if you expect them to share their data.

Replies are listed 'Best First'.
Re^2: Burned by Storable
by educated_foo (Vicar) on Jun 11, 2008 at 14:43 UTC
    Basically, there is no generic way to have guaranteed backward compatible generic (de)serialisation
    Well, actually there are at least two ways: First, don't change the serialization format between minor versions. Second, keep the old code around -- it sure *used* to parse that old format. Storable is fast and compact, but I've almost sworn off using it because of this. Data::Dumper plus gzip should be good enough.
Re^2: Burned by Storable
by bart (Canon) on Jun 11, 2008 at 21:59 UTC
    Our only hope is to edit it with vi?? Please tell me that ain't so!