In windows, (by default?) a file can only be opened by one process.
Um, no. The default for C programs (and Perl is a C program) is to allow other processes to read/write to a file we have open but to not allow a file that we have open to be renamed or deleted (when using open() as opposed to CreateFile() or other calls not typical of portable C programs).
Perhaps File::Temp is locking the file. File locks in Win32 are always manditory while they default to advisory on Unix. Perhaps just ask File::Temp to not lock?
- tye
In reply to Re^2: File::Temp problems on Win32 (myth)
by tye
in thread File::Temp problems on Win32
by trek1s
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |