Listing contents and stats of ZIP archive contentsby cbullard (Initiate)
|on May 13, 2013 at 21:40 UTC||Need Help??|
cbullard has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to list out the names and stats of the contents of a ZIP file. I've tried working with both Archive::Extract and IO::Uncompress with no success. I've even tried using this code straight from the PerlMonks Archives:
but all I get for output is:
$ ./ziptest.pl X zipbatch/testzip.zip testout.txt
How can I access the list of files inside the zip archive and the stats for them (size, mod date, etc)?Thank you!