Perl 6 API to the ZIP file format
Other
Switch branches/tags
Nothing to show
Latest commit abacb15 Apr 26, 2017 @azawawi committed on GitHub Merge pull request #4 from zoffixznet/patch-1
Use modern META filename
Permalink
Failed to load latest commit information.
examples Space nudges Oct 29, 2015
lib/File Make it work again with latest perl6 6.c Mar 18, 2016
t Initial project structure Oct 28, 2015
.gitignore
.travis.yml Update Travis/AppVeyor CI files to use 2016.03 Apr 12, 2016
LICENSE Under MIT license now Mar 18, 2016
META6.json Use modern META filename Apr 25, 2017
README.md Add appveyor badge to README Apr 12, 2016
appveyor.yml Update Travis/AppVeyor CI files to use 2016.03 Apr 12, 2016

README.md

File::Zip Build Status Build status

This module provides a Perl 6 API to the ZIP file format.

Note: This module is a work in progress. Please see its project status here.

Example

use File::Zip;

my $zip-file = File::Zip.new(file-name => 'test.zip');

# List the files in the archive
say $_.perl for $zip-file.files;

# Unzip the archive into given directory
$zip-file.unzip(directory => 'output');

For more examples, please see the examples folder.

Project Status

  • Improve documentation
  • More examples
  • Get all file members API
  • Extract a zip file using deflate
  • Write tests

Installation

To install it using Panda (a module management tool bundled with Rakudo Star):

$ panda update
$ panda install File::Zip

Testing

To run tests:

$ prove -e perl6

Author

Ahmad M. Zawawi, azawawi on #perl6

License

MIT License