Archive::Zip 1.20
Sponsored Links
Archive::Zip 1.20 Ranking & Summary
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.
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
Archive::Zip 1.20 Keywords
Zip 1.20
ZIP
AZ
Archive files
can be
ZIP archive
interface to
Perl module
files
file
module
read
archive
Perl
Archive::Zip
ArchiveZip
Bookmark Archive::Zip 1.20
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
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
wav files
filesharing
rar files
midi files
pdf files
file sharing
zip files
winrar zip archive
rar archive files
7 zip how to email files not in archive
files with this
archive files in outlook
file share
yahoo messenger archive files
files without having
zip archives
files theme rockford
.rar files
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
Latest Software
Popular Software
Favourite Software