|
NAMECompress::LZW - Pure-Perl implementation of scaling LZWVERSIONversion 0.04SYNOPSISuse Compress::LZW; my $compressed = compress($some_data); my $data = decompress($compressed); DESCRIPTION"Compress::LZW" is a perl implementation of the Lempel-Ziv-Welch compression algorithm, which should no longer be patented worldwide. It is shooting for loose compatibility with the flavor of LZW found in the classic UNIX compress(1), though there are a few variations out there today. I test against ncompress on Linux x86.FUNCTIONScompressAccepts a scalar, returns compressed data in a scalar.Wraps Compress::LZW::Compressor decompressAccepts a (compressed) scalar, returns decompressed data in a scalar.Wraps Compress::LZW::Decompressor EXPORTSDefault: "compress" "decompress"SEE ALSOThe implementations, Compress::LZW::Compressor and Compress::LZW::Decompressor.Other Compress::* modules, especially Compress::LZV1, Compress::LZF and Compress::Zlib. I definitely studied some other implementations that deserve credit, in particular: Sean O'Rourke, <SEANO> - Original author, "Compress::SelfExtracting", and another by Rocco Caputo which was posted online. AUTHORMeredith Howard <mhoward@cpan.org>COPYRIGHT AND LICENSEThis software is copyright (c) 2015 by Meredith Howard.This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Visit the GSP FreeBSD Man Page Interface. |