Skip Menu |
 

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id: 41619
Status: open
Priority: 0/
Queue: Archive-Zip

People
Owner: Nobody in particular
Requestors: jerry [...] ieee.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.23
Fixed in: (no value)



Subject: No built-in method to recursively add a directory contents
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 343
Download (untitled) / with headers
text/plain 343b
Very commonly, one needs to add a directory structure and its contents recursively to a zip archive. This is easily done in Unix's zip command-line tool, using its -r option. Archive::Zip does not seem to have this capability. It looks like you'd have to use addDirectory() to add an empty directory, and then write your own recursion.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-11881-1229019016-735.41619-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 126
Download (untitled) / with headers
text/plain 126b
There is `addTree' for adding directory trees. No need to recurse with `addDirectory'. -- The difference makes the difference


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.