Perl 6 Module to Write Zip files
Switch branches/tags
Nothing to show
Clone or download
Latest commit df1edd5 Nov 9, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/Archive Drop "use v6" Nov 9, 2018
t Get pipe-in-from-unzip to return a string Jun 16, 2017
.gitignore Remove gvim backup files & precomp May 16, 2017
.travis.yml Update .travis.yml to match latest guidelines May 23, 2017
LICENSE Initial commit Jan 16, 2016
META6.json Add tags to META6.json Oct 16, 2017
README.md Added some POD & more tests Jan 17, 2016

README.md

Archive::SimpleZip

Perl6 module to write Zip archives.

Synopsis


use Archive::SimpleZip;

# Create a zip file in filesystem
my $obj = SimpleZip.new("mine.zip");

# Create a zip file in memory
my $blob = Blob.new();
my $obj2 = SimpleZip.new($blob);

# Add a file to the zip archive
$obj.add("somefile.txt".IO);

# Add a Blob/String
$obj.add("payload data here", :name<data1>);

$obj.close();

Description

Simple write-only interface to allow creation of Zip files.

Please note - this is module is a prototype. The interface will change.

Support

Suggestions/patches are welcomed via github at

https://github.com/pmqs/Archive-SimpleZip

Licence

Please see the LICENCE file in the distribution

(C) Paul Marquess 2016