laziness, impatience, and hubris | |
PerlMonks |
Re^3: A DWIM too far?by ysth (Canon) |
on Jun 23, 2004 at 07:49 UTC ( [id://368965]=note: print w/replies, xml ) | Need Help?? |
That may not work for directories.
But I think that idiom justifies Unix's choice of rename behavior. If rename failed when a new file already exists, there isn't good way to code a rename-that-overwrites.
In Section
Meditations
|
|