PERL Archive::Zip format error: bad signature -
I have a zip file created by zip command in Ubuntu and updated by the Archive Manager included in Ubuntu.
I was trying to use PERL to read the members of that collection:
Use strict; Use archive: zip qw (: ERROR_CODES: CONSTANTS); My $ zip = archive: zip- & gt; new (); Until ($ zip- & gt; read ('/home/mohamad/Desktop/VM/vm.zip') == AZ_OK) {Dying 'Read Error'; } My @philos = $ zip- & gt; Username (); Print included ("\ n", @files). "\ N";
This zip file is about 12 GB and I know there is no limit to extending 4 GB in this module, but I am trying to see if its use Members of the AA + 4GB collection can be done at least.
Here I am getting the error:
at / usr / share / perl5 / archive / zip PM Line 477 Archive :: ZIP :: _ Reading authoring ('IO :: file = globe (0xb75ae8)', '/ home / mohamed / desktop / / mb / vm.zip') which is called / usr / share / perl5 /Archive/Zip/Archive.pm line 603 archive :: ZIP :: archive :: readFromFileHandle ('Archive :: ZIP :: archive = hash (0xb75c20)', 'IO :: file = globe (0xb75ae8)', '/ Home / mohamad / desktop / vm / vm.zip ') called /usr/share/perl5/Archive/Zip/Archive.pm Row 548 Archive :: ZIP :: Archive :: Read (Archive :: ZIP ::: Archive = HSH (0xb75c20), '/ Home / Mohammed / Desktop / MMM / VM. Although ') test.pm line is read 6 Error test.pm line 7.
My questions are:
- Is this error the result of being a +4GB zee? P file and module due to limit, or is it something else?
- If it is due to the limit of 4 GB, then other modules can provide the same functionality?
I need the archive: Zip file has the ability to change the names of members in the archive.
Thanks for the help.
Comments
Post a Comment