Archive::Unzip::Burst - Featureless but fast ZIP extraction


Archive-Unzip-Burst documentation  | view source Contained in the Archive-Unzip-Burst distribution.

Index


NAME

Top

Archive::Unzip::Burst - Featureless but fast ZIP extraction

SYNOPSIS

Top

  use Archive::Unzip::Burst 'unzip';
  unzip("zipfile.zip", "targetdirectory");

DESCRIPTION

Top

This module is a thin XS wrapper around a copy of the well-known InfoZip library but it does not expose its full functionality. Instead, it only lets you extract a ZIP archive to some directory, about as fast as if you were using your system unzip command itself.

The module comes with its own copy of InfoZip's UnZip 5.52 included.

If you are looking for a full-featured interface to ZIP archives, you should look at Archive::Zip or the various IO::Compress::* or IO::Uncompress::* modules instead. Furthermore, this module is to be considered experimental. It has only been tested on x86 and x86-64 linux and is known to fail on, for example win32. Any help in this regard would be much appreciated.

If available, the module uses the prefork pragma to load its dependencies either on-demand run-time or at compile-time (if in a forking environment). It does not, however, require the prefork module to be installed for normal operation.

EXPORT

None by default. But you may choose to export the unzip function.

FUNCTIONS

Top

unzip

Takes a file name and a target directory as arguments. Extracts the zip file to the target directory. Returns the integer status code from the underlying ZIP library. Presumably, zero means success as with system calls. The return value may change in future versions.

SEE ALSO

Top

The InfoZip homepage at http://www.info-zip.org.

Archive::Zip

IO::Uncompress::Unzip

prefork

AUTHOR

Top

Steffen Mueller, <smueller@cpan.org>

COPYRIGHT AND LICENSE

Top


Archive-Unzip-Burst documentation  | view source Contained in the Archive-Unzip-Burst distribution.