in reply to Unable to Extract the Zip file

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

Replies are listed 'Best First'.
Re^2: Unable to Extract the Zip file
by senthil_v (Sexton) on Dec 29, 2015 at 09:51 UTC

    Thanks Floyd. i had opened the zip file in editor and could see that 'PK' character is being appeared at the first line followed by unreadble character. really, i am wondering that why it is not able to exrtact the content.

    Thanks,

    Senthil