ant has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Once again I come looking for answers, so thanks in advance to replies.
I have file named UPatchCAAGAIAE_B.tar.Z, which I'm tring to use Archive::Zip on. I know that the code is correct as it unzips other files fine.
Any suggestions??
Thanks
Once again I come looking for answers, so thanks in advance to replies.
I have file named UPatchCAAGAIAE_B.tar.Z, which I'm tring to use Archive::Zip on. I know that the code is correct as it unzips other files fine.
However when I try to unzip this, it falls over, see error message below.my $extract_file = $start_path . $env . "\\mrf" . $mrf_num . "\\$item" +; my $zip = Archive::Zip->new(); if($zip->read($extract_file) != AZ_OK) { die "Unable to decompress zip file '$extract_file'"; }
Any suggestions??
Thanks
\UPatchCAAGAIAE_B.tar.Z format error: can't find EOCD signature Archive::Zip::Archive::_findEndOfCentralDirectory('Archive::Zi +p::Archive=HASH(0x1b6bd68)', 'IO::File=GLOB(0x1b6be64)') Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archi +ve=HASH(0x1b6bd68)', 'IO::File=GLOB(0x1b6be64)', 'R:\Rele Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x1b6b +d68)', 'R:\Relfsdfdment\pdsfsdhes\OdsfW\mrf15009\UPatc
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: zipped and tar files.
by Fletch (Bishop) on Oct 06, 2006 at 15:49 UTC | |
Re: zipped and tar files.
by grep (Monsignor) on Oct 06, 2006 at 17:09 UTC | |
Re: zipped and tar files.
by madbombX (Hermit) on Oct 06, 2006 at 16:44 UTC |
Back to
Seekers of Perl Wisdom