Skip Menu |
 

This queue is for tickets about the File-Temp CPAN distribution.

Report information
The Basics
Id: 99444
Status: open
Priority: 0/
Queue: File-Temp

People
Owner: Nobody in particular
Requestors: cornucopia [...] gmx-topmail.de
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: [File::Temp] Add option to choose between read-write and write-only mode
Date: Sun, 12 Oct 2014 11:28:33 +0200
To: bug-File-Temp [...] rt.cpan.org
From: cornucopia [...] gmx-topmail.de
Download (untitled) / with headers
text/plain 390b
File::Temp currently opens temporary files with O_RDWR. This makes it impossible to use it with PerlIO::gzip (i.e. set binmode gzip) because the latter only works with read-only or write-only file descriptors. Therefore it would be very useful to have an option to set write-only mode. I don't think that read-only would make much sense because then you could only read from an empty file.
Ticket migrated to github as http://example.com/issue/1234


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.