Skip Menu |
 

This queue is for tickets about the IO-DiskImage-Floppy CPAN distribution.

Report information
The Basics
Id: 39084
Status: new
Priority: 0/
Queue: IO-DiskImage-Floppy

People
Owner: Nobody in particular
Requestors: lofenee [...] yahoo.com.cn
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.01
Fixed in: (no value)



Subject: File extraction on CR-LF mode system fails.
Download (untitled) / with headers
text/plain 336b
Extration on CR-LF system like Windows will replace char '\x0A' with char sequence "\x0D\x0A". Following is a clip from floppy.pm(L350-353): open(my $fh, '>', $file) or die "could not open file for output [$file] : $!"; print $fh $data; close $fh; return $this; Problem may be due to the FILEHANDLE $fh not applied as binary mode.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.