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.10 by root, Thu Sep 5 04:44:55 2002 UTC vs.
Revision 1.19 by root, Tue Mar 8 20:12:54 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, $store 86=head2 Compress::LZF::set_serializer $package, $freeze, $thaw
87 87
88Set the serialize module and functions to use. The default is "Storable", 88Set the serialize module and functions to use. The default is "Storable",
89"Storable::mstore" and "Storable::mretrieve", which should be fine for 89"Storable::mstore" and "Storable::mretrieve", which should be fine for
90most purposes. 90most purposes.
91 91
98http://liblzf.plan9.de/ 98http://liblzf.plan9.de/
99 99
100=head1 AUTHOR 100=head1 AUTHOR
101 101
102This perl extension and the underlying liblzf were written by Marc Lehmann 102This perl extension and the underlying liblzf were written by Marc Lehmann
103<pcg@goof.com> (See also http://liblzf.plan9.de/). 103<schmorp@schmorp.de> (See also http://liblzf.plan9.de/).
104 104
105=head1 BUGS 105=head1 BUGS
106 106
107=cut 107=cut
108 108
109package Compress::LZF; 109package Compress::LZF;
110 110
111require Exporter; 111require Exporter;
112require DynaLoader; 112require DynaLoader;
113 113
114$VERSION = 0.1044; 114$VERSION = '1.5';
115@ISA = qw/Exporter DynaLoader/; 115@ISA = qw/Exporter DynaLoader/;
116%EXPORT_TAGS = ( 116%EXPORT_TAGS = (
117 freeze => [qw(sfreeze sfreeze_cr sfreeze_c sthaw)], 117 freeze => [qw(sfreeze sfreeze_cr sfreeze_c sthaw)],
118 compress => [qw(compress decompress)], 118 compress => [qw(compress decompress)],
119); 119);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines