1 | NAME |
1 | NAME |
2 | Compress::LZF - extremely light-weight Lev-Zimpel-Free compression |
2 | Compress::LZF - extremely light-weight Lempel-Ziv-Free compression |
3 | |
3 | |
4 | SYNOPSIS |
4 | SYNOPSIS |
5 | # import compress/decompress functions |
5 | # import compress/decompress functions |
6 | use Compress::LZF; |
6 | use Compress::LZF; |
7 | # the same as above |
7 | # the same as above |
… | |
… | |
74 | Recreate the original object from it's serialized representation. This |
74 | Recreate the original object from it's serialized representation. This |
75 | function automatically detects all the different sfreeze formats. |
75 | function automatically detects all the different sfreeze formats. |
76 | |
76 | |
77 | Compress::LZF::set_serializer $package, $freeze, $thaw |
77 | Compress::LZF::set_serializer $package, $freeze, $thaw |
78 | Set the serialize module and functions to use. The default is |
78 | Set the serialize module and functions to use. The default is |
79 | "Storable", "Storable::mstore" and "Storable::mretrieve", which should |
79 | "Storable", "Storable::net_mstore" and "Storable::mretrieve", which |
80 | be fine for most purposes. |
80 | should be fine for most purposes. |
81 | |
81 | |
82 | SEE ALSO |
82 | SEE ALSO |
83 | Other Compress::* modules, especially Compress::LZV1 (an older, less |
83 | Other Compress::* modules, especially Compress::LZV1 (an older, less |
84 | speedy module that guarentees only 1 byte overhead worst case) and |
84 | speedy module that guarentees only 1 byte overhead worst case) and |
85 | Compress::Zlib. |
85 | Compress::Zlib. |