… | |
… | |
81 | =head2 $original_data = sthaw $serialized |
81 | =head2 $original_data = sthaw $serialized |
82 | |
82 | |
83 | Recreate the original object from it's serialized representation. This |
83 | Recreate the original object from it's serialized representation. This |
84 | function automatically detects all the different sfreeze formats. |
84 | function automatically detects all the different sfreeze formats. |
85 | |
85 | |
|
|
86 | =head2 Compress::LZF::set_serializer $package, $freeze, $store |
|
|
87 | |
|
|
88 | Set the serialize module and functions to use. The default is "Storable", |
|
|
89 | "Storable::mstore" and "Storable::mretrieve", which should be fine for |
|
|
90 | most purposes. |
|
|
91 | |
86 | =head1 SEE ALSO |
92 | =head1 SEE ALSO |
87 | |
93 | |
88 | Other Compress::* modules, especially Compress::LZV1 (an older, less |
94 | Other Compress::* modules, especially Compress::LZV1 (an older, less |
89 | speedy module that guarentees only 1 byte overhead worst case) and |
95 | speedy module that guarentees only 1 byte overhead worst case) and |
90 | Compress::Zlib. |
96 | Compress::Zlib. |
… | |
… | |
103 | package Compress::LZF; |
109 | package Compress::LZF; |
104 | |
110 | |
105 | require Exporter; |
111 | require Exporter; |
106 | require DynaLoader; |
112 | require DynaLoader; |
107 | |
113 | |
108 | $VERSION = 0.1043; |
114 | $VERSION = 0.1044; |
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 | ); |