WWW::SFDC::Zip - Utilities for manipulating base64 encoded zip files.
version 0.36
use WWW::SFDC::Zip qw"unzip makezip"; makezip $srcDirectory, @listOfFiles; unzip $destDirectory, $base64encodedzipfile, &unzipTimeChanges;
Takes a some base64 $data and turns it into a file tree, starting at $dest. It does this by turning unpackaged/ into $dest/ whilst unzipping, so the data needs to come from an above-defined retrieve request.
Whilst each file is in memory, this function calls:
$callback->($filename, $content)
In this way, you can use $calback to modify or remove files before they get written to disk.
Creates and returns a zip stream from the file list given. Replaces unpackaged/ with $options{basedir} if set.
Can export unzip and makezip.
Please report any bugs or feature requests at https://github.com/sophos/WWW-SFDC/issues.
You can find documentation for this module with the perldoc command.
perldoc WWW::SFDC::Zip
You can also look for information at https://github.com/sophos/WWW-SFDC
Alexander Brett <alexander.brett@sophos.com> http://alexander-brett.co.uk
This software is Copyright (c) 2015 by Sophos Limited https://www.sophos.com/.
This is free software, licensed under:
The MIT (X11) License
The full text of the license can be found in the LICENSE file included with this distribution.
To install WWW::SFDC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::SFDC
CPAN shell
perl -MCPAN -e shell install WWW::SFDC
For more information on module installation, please visit the detailed CPAN module installation guide.