open($fh, "+>", undef) or die ...
I love that! But one thing that hasn't been mentioned yet, and that may be relevant or not to you is that it opens a handle to an anonymous file. (On filesystems that do support them.)
In reply to Re: Safe Temp Files
by blazar
in thread Safe Temp Files
by gmock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |