K
K
Konvergent2019-04-23 17:52:00
Perl
Konvergent, 2019-04-23 17:52:00

How to work with brotli format in perl 5?

Has anyone tried working with brotli compression in perl 5?
With great difficulty I installed the package
. I just don’t understand how to work with it. I didn't find any good examples. Its native tests are full of bugs.
I had to install not through cpan, but by downloading and then in make.
I work with it in FreeBSD.
Are there other ways/solutions on how to compress/decompress brotli files in perl 5?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergey, 2019-04-23
@Konvergent

I tried and didn't see any problems under perl-5.28.0- installed with cpanm. I didn’t try it with other versions, I really didn’t get it with the old perl-5.8.9one (I didn’t compile).
Vagrantfle at
https://github.com/sergueik/puppetmaster_vagrant/b...

sudo /home/vagrant/perl5/perlbrew/bin/perlbrew use perl-5.28.0

perl -e 'use IO::Compress::Brotli; print $IO::Compress::Brotli::VERSION,$/'
0.004001

give an example of what doesn't work using IO::Compress::Brotli

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question