
Archive::ZZip - Perl bindings for zziplib.

use Archive::ZZip;
my $zip = Archive::ZZip->new("./latest.zip");
my $file = $dir->openFile("framework/dhtmlHistory.js");
while (my $buf = $file->read()) {
print $buf;
}

Provides bindings for zziplib, whose homepage is at http://zziplib.sourceforge.net/.

Opens the zip file. Returns a handle to the central directory.
my $zip = Archive::ZZip->new('test.zip');
Opens the file inside the zip. Returns a handle to the file.
my $file = $zip->openFile( 'test.zip');
Attempts to read amount bytes and returns a buffer containing what was read. Pass undef for the buffer to have it automatically create one.
my $buf = $file->read(undef, 1024); my $buf = $file->read(); $file->read($buf, 1024);
Returns the next entry in the central directory.
my $entry = $zip->read(); my $name = $entry->{'name'}; my $level = $entry->{'compression_level'}; my $us = $entry->{'uncompressed_size'}; my $cs = $entry->{'compressed_size'};

Vincent Spader, <vspader@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.