Open karenetheridge opened 5 years ago
Sounds to me like the -1 might be coming from fileno
: Returns the file descriptor for a filehandle, or undefined if the filehandle is not open. If there is no real file descriptor at the OS level, as can happen with filehandles connected to memory objects via open with a reference for the third argument, -1 is returned. I don't have any time right now to look into it in more detail, but maybe this is a start...
I'm not sure if I've run into a limitation of perl or if I'm just doing something boneheaded, but I expected this to work (this is an effort to avoid the use of a tempdir on a read-only filesystem):
However, I get: