in reply to Burned by Storable
I ended up using String::Escape's hash2string and string2hash to (de)serialize the data and store it as text. Easy to use, understand, inspect and test, while completely platform-independent and probably not slower than any binary conversion.
See also The Importance of Being Textual chapter of Eric S. Raymond's book The Art of Unix Programming:
Text streams are a valuable universal format because they're easy for human beings to read, write, and edit without specialized tools. These formats are (or can be designed to be) transparent.Designing a textual protocol tends to future-proof your system.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Burned by Storable
by perrin (Chancellor) on Jun 11, 2008 at 10:51 UTC | |
by andreas1234567 (Vicar) on Jun 11, 2008 at 10:58 UTC |