-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
io->temp seems broken #80
Comments
Feature seems to be AWOL. |
@frioux, does this help you figure it out:
|
https://github.com/ingydotnet/io-all-pm/blob/master/lib/IO/All/Temp.pm#L9
From https://metacpan.org/pod/IO::File new_tmpfile Creates an IO::File opened for read/write on a newly created temporary file. On If the file is anonymous, I would assume it has no name. Can we close this, or should we do something different? What is your use case? |
Ok I mentioned this on IRC but I might as well bring it up here; generally temp files are used for passing data to other programs. If for some reason you need to work with a filehandle but no file; it's even easier to just use io->string. With that support I see no reason for io->temp to work the way it does. |
Right, my use case was passing a key file between openssl utils that don't accept stdin. I used File::Temp instead. |
Where... is it?
The text was updated successfully, but these errors were encountered: