Main > Programming > Libraries >

Archive::Zip 1.20

Archive::Zip 1.20

Sponsored Links

Archive::Zip 1.20 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.17 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 865
Date added: 2007-07-03
Publisher: Adam Kennedy

Archive::Zip 1.20 description

Archive::Zip is a Perl module which provides an interface to ZIP archive files.

SYNOPSIS

# Create a Zip file
use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
my $zip = Archive::Zip->new();

# Add a directory
my $dir_member = $zip->addDirectory( dirname/ );

# Add a file from a string with compression
my $string_member = $zip->addString( This is a test, stringMember.txt );
$string_member->desiredCompressionMethod( COMPRESSION_DEFLATED );

# Add a file from disk
my $file_member = $zip->addFile( xyz.pl, AnotherName.pl );

# Save the Zip file
unless ( $zip->writeToFileNamed(someZip.zip) == AZ_OK ) {
die write error;
}

# Read a Zip file
my $somezip = Archive::Zip->new();
unless ( $somezip->read( someZip.zip ) == AZ_OK ) {
die read error;
}

# Change the compression type for a file in the Zip
my $member = $somezip->memberNamed( stringMember.txt );
$member->desiredCompressionMethod( COMPRESSION_STORED );
unless ( $zip->writeToFileNamed( someOtherZip.zip ) == AZ_OK ) {
die write error;
}

The Archive::Zip module allows a Perl program to create, manipulate, read, and write Zip archive files.

Zip archives can be created, or you can read from existing zip files.
Once created, they can be written to files, streams, or strings. Members can be added, removed, extracted, replaced, rearranged, and enumerated. They can also be renamed or have their dates, comments, or other attributes queried or modified. Their data can be compressed or uncompressed as needed.
Members can be created from members in existing Zip files, or from existing directories, files, or strings.

This module uses the Compress::Zlib library to read and write the compressed streams inside the files.

Archive::Zip 1.20 Screenshot

Advertisements

Archive::Zip 1.20 Keywords

Bookmark Archive::Zip 1.20

Hyperlink code:
Link for forum:

Archive::Zip 1.20 Copyright

WareSeeker periodically updates pricing and software information of Archive::Zip 1.20 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Archive::Zip 1.20 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Archive::TarGzip is a Perl module to save and restore files to and from compressed tape archives (tar). Free Download
Archive::Builder is a file generation and archiving framework. Free Download
Archive::Tyd is a Perl extension for simple file archiving. Free Download
Archive::Chm is a Perl module that performs some read-only operations on HTML help (.chm) files. Free Download
Archive::SelfExtract is a Perl module to bundle compressed archives with Perl code. Free Download
Tie::Gzip is a Perl module that can read and write gzip compressed files. Free Download
Apache::Storage is Perl module containing simple functions to store and retrieve information from within the Apache process. Free Download
Similars is a Perl module that can locate similar files. Free Download