in reply to Is Compress::LZF_PP compatible with Compress::LZF?
Note that Compress::LZF only works with liblzf. In other words, the data must be compressed and decompressed with liblzf exclusively. It won't work with Java-based versions of the algorithm.#!/usr/bin/perl use strict; use warnings; use Compress::LZF qw(:compress); my $contents = q( A123456789 123456789 123456789 123456789 123456789 123456789 B123456789 123456789 123456789 123456789 123456789 123456789 ); print "-" x 60; my $compressed = compress($contents); my $decompressed = decompress($compressed); print $decompressed;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is Compress::LZF_PP compatible with Compress::LZF?
by woland99 (Beadle) on Dec 13, 2011 at 12:34 UTC |