Archive::Zip::SimpleZip

Create Zip Archives
Download

Archive::Zip::SimpleZip Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Paul Marquess
  • Publisher web site:
  • http://search.cpan.org/~pmqs/

Archive::Zip::SimpleZip Tags


Archive::Zip::SimpleZip Description

Archive::Zip::SimpleZip is a Perl module that allows the creation of Zip archives. It doesn't allow modification of existing zip archives - it just writes zip archives from scratch.There are a few methods available in Archive::Zip::SimpleZip, and quite a few options, but for the most part all you need to know is how to create a Zip object and how to add a file to the zip archive. Below is a typical example of how it is used use Archive::Zip::SimpleZip qw($SimpleZipError) ; my $z = new Archive::Zip::SimpleZip "my.zip" or die "Cannot create zip file: $SimpleZipError\n" ; $z->add("/some/file1.txt"); $z->add("/some/file2.txt"); $z->close();SYNOPSIS use Archive::Zip::SimpleZip qw($SimpleZipError) ; my $z = new Archive::Zip::SimpleZip "my.zip" or die "Cannot create zip file: $SimpleZipError\n" ; $z->add("/some/file1.txt"); $z->addString("some text", Name => "myfile"); $z->close();Product's homepage


Archive::Zip::SimpleZip Related Software