Skip Menu |

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id: 76633
Status: new
Priority: 0/
Queue: Archive-Zip

People
Owner: Nobody in particular
Requestors: sferencik [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.16
Fixed in: (no value)



Subject: invalid zip file produced when running "perl -l"
When running perl with the -l switch (line-end processing), a 0x0a is appended after every print call, producing an invalid zip file. perl -l -MArchive::Zip=:ERROR_CODES -e "my $z = Archive::Zip->new; $z- Show quoted text
>addFile(q(a.txt)) or die q(1); $z->writeToFileNamed(q(a.zip)) == AZ_OK
or die q(2);" This produces an invalid a.zip. Taking away the -l option produces a valid a.zip.