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.16 by pcg, Tue Aug 3 15:04:05 2004 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
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.01';
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