Quote:
Originally Posted by Sergei Steshenko
|
Well, this links to memory mapped files, but all I want to do is just call the Compress method from the zip library. That's pretty easy in C so I thought it might be possible also with Perl.
The point is I don't need all that extra information which is included in a typical zip file, such as file size and name etc.
If I do something like
my $zip = Archive::Zip->new();
my $member = $zip->addString($text, $filename);
$member->desiredCompressionMethod(COMPRESSION_DEFLATED);
how can I access the zipped member and is it possible to get rid of the $filename stuff?