in reply to Storable.pm - corrupt when saving to non-truncated file
I used to like Storable.
I don’t, anymore.
What has been remarkably satisfactory for me is ... YAML. (There are several flavors of it, including some modules that are “Pure Perl.”) One very nice advantage of it is that ... it is readable by humans. You can plainly see what it says. If storage space happens to be a genuine issue, it is also easily compressible by Zip/deflate and the like...
With Storable, I was fairly awash with “stored” things that I couldn’t actually retrieve. When I started using YAML, the problems vanished and never returned. (Of course, all of the things that I actually need to store, are things that YAML can represent. Your Mileage May Vary.™)
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Storable.pm - corrupt when saving to non-truncated file
by andreas1234567 (Vicar) on Nov 25, 2010 at 14:17 UTC |