ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Compress-LZF/LZF.pm
(Generate patch)

Comparing Compress-LZF/LZF.pm (file contents):
Revision 1.4 by root, Fri Feb 22 00:15:52 2002 UTC vs.
Revision 1.18 by pcg, Thu Mar 3 17:10:16 2005 UTC

1=head1 NAME 1=head1 NAME
2 2
3Compress::LZF - extremely leight-weight Lev-Zimpel-Free compression 3Compress::LZF - extremely light-weight Lev-Zimpel-Free compression
4 4
5=head1 SYNOPSIS 5=head1 SYNOPSIS
6 6
7 # import compress/decompress functions 7 # import compress/decompress functions
8 use Compress::LZF; 8 use Compress::LZF;
81=head2 $original_data = sthaw $serialized 81=head2 $original_data = sthaw $serialized
82 82
83Recreate the original object from it's serialized representation. This 83Recreate the original object from it's serialized representation. This
84function automatically detects all the different sfreeze formats. 84function automatically detects all the different sfreeze formats.
85 85
86=head2 Compress::LZF::set_serializer $package, $freeze, $thaw
87
88Set the serialize module and functions to use. The default is "Storable",
89"Storable::mstore" and "Storable::mretrieve", which should be fine for
90most purposes.
91
86=head1 SEE ALSO 92=head1 SEE ALSO
87 93
88Other Compress::* modules, especially Compress::LZV1 (an older, less 94Other Compress::* modules, especially Compress::LZV1 (an older, less
89speedy module that guarentees only 1 byte overhead worst case) and 95speedy module that guarentees only 1 byte overhead worst case) and
90Compress::Zlib. 96Compress::Zlib.
92http://liblzf.plan9.de/ 98http://liblzf.plan9.de/
93 99
94=head1 AUTHOR 100=head1 AUTHOR
95 101
96This perl extension and the underlying liblzf were written by Marc Lehmann 102This perl extension and the underlying liblzf were written by Marc Lehmann
97<pcg@goof.com> (See also http://liblzf.plan9.de/). 103<schmorp@schmorp.de> (See also http://liblzf.plan9.de/).
98 104
99=head1 BUGS 105=head1 BUGS
100 106
101=cut 107=cut
102 108
103package Compress::LZF; 109package Compress::LZF;
104 110
105require Exporter; 111require Exporter;
106require DynaLoader; 112require DynaLoader;
107 113
108$VERSION = 0.101; 114$VERSION = '1.401';
109@ISA = qw/Exporter DynaLoader/; 115@ISA = qw/Exporter DynaLoader/;
110%EXPORT_TAGS = ( 116%EXPORT_TAGS = (
111 freeze => [qw(sfreeze sfreeze_cr sfreeze_c sthaw)], 117 freeze => [qw(sfreeze sfreeze_cr sfreeze_c sthaw)],
112 compress => [qw(compress decompress)], 118 compress => [qw(compress decompress)],
113); 119);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines