January 2014 Archives

Storable-like Modules

I need to store some big matrices (Math::MatrixReal objects) to be released on a module that will need to load them every time it is loaded. Therefore, the save time is not important, but I need fast loading. Also, it would be nice if the format would be kind of compressed (zlib or any other). Finally, and less important, it would be also nice if the format, in case it is binary, is platform independent.

Every time I needed something like this I used Storable and/or Data::Dumper. What other interesting options are out there?

About Alberto Simões

user-pic I blog about Perl. D'uh!