January 2015 Archives

Serializers for Perl: when to use what

This is a moderately edited (primarily rearranged) version of a comment on the PerlĀ 5 issue tracker written by Yves Orton (demerphq). I thought it would be useful to a wider audience so I am reposting here with permission.

Note: this was written off the cuff and is not comprehensive. In correspondence, Yves noted that such an article could/should cover more formats, e.g. MsgPack.


I [feel strongly] that Data::Dumper is generally unsuitable as a serialization tool. The reasons are as follows:

About Aristotle

user-pic Waxing philosophical