good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Unable to Extract the Zip fileby FloydATC (Deacon) |
on Dec 29, 2015 at 09:28 UTC ( [id://1151324]=note: print w/replies, xml ) | Need Help?? |
As far as I can tell, your code should work as expected.
I would first double-check that AUS-000X-201512 28234755_Data.zip is in fact a valid Zip archive and not some other compressed format which is transparently recognized and handled by whatever tool you are using when manually opening it. The quickest way to check is to open the file in a text editor and check the first two bytes. They will usually read "PK", followed by unreadable characters. (See https://en.wikipedia.org/wiki/Zip_%28file_format%29) If the file is indeed a Zip archive, my guess is that your Archive::Zip module or one of its dependencies needs an update.
-- FloydATC
Time flies when you don't know what you're doing
In Section
Seekers of Perl Wisdom
|
|