in reply to Linking to open file descriptor
=item new_tmpfile Creates an C<IO::File> opened for read/write on a newly created tempor +ary file. On systems where this is possible, the temporary file is anonym +ous (i.e. it is unlinked after creation, but held open). If the temporary file cannot be created or opened, the C<IO::File> object is destroyed. Otherwise, it is returned to the caller. =back
As the temp_file has been unlinked you will be out of luck. Even if it was not all you could do would be to effectively rename it within its current dir. If you move it you are doing the IO anyway. Just copy it to whatever file wherever you want seems pretty logical to me.....
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Linking to open file descriptor
by shotgunefx (Parson) on Nov 07, 2002 at 21:57 UTC | |
by tachyon (Chancellor) on Nov 08, 2002 at 10:25 UTC |