Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Getting IO::Compress::Zip to include directory entries (on Windows)by hilitai (Monk) |
on Feb 03, 2016 at 00:35 UTC ( [id://1154310]=note: print w/replies, xml ) | Need Help?? |
Thanks! But I guess I wasn't clear enough. I can already include all the files, in whatever directory; what I'm trying to do is include the directory entry itself, like a native zip program would do. For example, here's the output of Zip 3.0:
So it's stored the directory entities and information (including modification times) as well as the files. That's what I'm trying to emulate. I've done some more digging around, and I'm beginning to think that IO::Compress::Zip might just not do what I want. Also, I didn't think that Archive::Zip was in the core libraries, but it looks like it has been since v 5.12 or so, maybe. (On the other hand, I have to work with some very old systems.) I might not even need this ability for what I want to do, but the closer I can come to a Real Zip File on output, the better.
In Section
Seekers of Perl Wisdom
|
|