Just another Perl shrine | |
PerlMonks |
Re^4: Perl Best Practices book: is this one a best practice or a dodgy practice? (atomic rename)by tye (Sage) |
on Sep 03, 2005 at 19:28 UTC ( [id://488964]=note: print w/replies, xml ) | Need Help?? |
Bear in mind though that an "atomic rename" isn't really atomic under most filesystems rename is atomic on POSIX systems. Win32 has atomic rename and I just checked and rename uses it on modern Win32 operating systems. That qualifies as "most" of the Perl universe in my book (covering the two most common Perl environments, even if TheDamian chooses to call one of the top two "obscure"). Perhaps you have evidence to the contrary or perhaps you are thinking of pre-rename methods using link/unlink? - tye
In Section
Meditations
|
|