Howdy I am trying to actually use Compress::LZF_PP. So I thought I would give it a test and I compressed a string using Compress::LZF and check if LZF_PP can decompress it.
Not sure what am I doing wrong...
use Compress::LZF; use Compress::LZF_PP; use strict; my $contents = q{ A123456789 123456789 123456789 123456789 123456789 123456789 B123456789 123456789 123456789 123456789 123456789 123456789 }; print STDERR $contents; my $compressed = Compress::LZF::compress($contents); my $uncompressed = Compress::LZF_PP::decompress($compressed); print STDERR "----------------------------------"; print STDERR $uncompressed;
Result is:
A123456789 123456789 123456789 123456789 123456789 123456789 B123456789 123456789 123456789 123456789 123456789 123456789 ---------------------------------- A123456789 123456789 123456789 123456789 123456789 123456789 B6789 123456789 123456789 123456789 123456789 1234A123456789
In reply to Is Compress::LZF_PP compatible with Compress::LZF? by woland99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |