Perl 6 Module to Write Zip files
Perl6
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Archive
t
.gitignore
.travis.yml
LICENSE
META6.json
README.md

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