|There's more than one way to do things
Serialise to binary?by sectokia (Pilgrim)
|on Oct 25, 2015 at 22:33 UTC
sectokia has asked for the wisdom of the Perl Monks concerning the following question:
Hi wise monks,
Are there any cpan modules that serialise data structures in binary and won't have the issues associated with storable for cross platform compatibility?
I was using storable, but since it wasn't portable and gave issues when switching systems, I have moved on to JSON / Data::Dumper.
However neither of these store binary data as binary, which is costing me space. My binary data is already compressed, so when I compress JSON or Data::Dumper output, it still ends up substantially bigger than storable.