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

Owner: Nobody in particular
Requestors: cornucopia [...]

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 [...]
From: cornucopia [...]
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

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

Please report any issues with to