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
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.
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.