Note: This module is a work in progress. Please see its project status here.
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.
- Improve documentation
- More examples
- Get all file members API
- Extract a zip file using deflate
- Write tests
To install it using zef (a module management tool bundled with Rakudo Star):
$ zef install File::Zip
To run tests:
$ prove -e perl6
Ahmad M. Zawawi, azawawi on #perl6