In Miniz 2.0.7, tinfl_decompress in miniz_tinfl.c has an infinite loop because sym2 and counter can both remain equal to zero.
To install Sereal::Encoder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sereal::Encoder
CPAN shell
perl -MCPAN -e shell install Sereal::Encoder
For more information on module installation, please visit the detailed CPAN module installation guide.