Paul Marquess > IO-Compress-2.059 > zipdetails


Annotate this POD


New  2
Open  11
Stalled  1
View/Report Bugs
Source   Latest Release: IO-Compress-2.069


zipdetails - display the internal structure of zip files


    zipdetaile [-v]
        zipdetails -h


Zipdetails displays information about the internal record structure of the zip file. It is not concerned with displaying any details of the compressed data stored in the zip file.

The program assumes prior understanding of the internal structure of a Zip file. You should have a copy of the Zip APPNOTE file at hand to help understand the output from this program ("SEE ALSO" for details).



Enable Verbose mode


Display help

By default zipdetails will output the details of the zip file in three columns.

Column 1

This contains the offset from the start of the file in hex.

Column 2

This contains a textual description of the field.

Column 3

If the field contains a numeric value it will be displayed in hex. Zip stored most numbers in little-endian format - the value displayed will have the little-endian encoding removed.

Next, is an optional description of what the value means.

If the -v option is present, column 1 is expanded to include


Error handling is still a work in progress. If the program encounters a problem reading a zip file it is likely to terminate with an unhelpful error message.


The primary reference for Zip files is the "appnote" document available at

An alternative is the Info-Zip appnote. This is available from

The zipinfo program that comes with the info-zip distribution ( can also display details of the structure of a zip file.

See also IO::Compress::Zip, IO::Uncompress::Unzip.


Paul Marquess


Copyright (c) 2011-2012 Paul Marquess. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: