|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^5: [OT] rename(2) -- renaming file to itself produces no error.by Coruscate (Sexton) |
| on Jan 08, 2004 at 00:35 UTC ( [id://319731]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Now, why would you be wanting to depend on the system to have to do the thinking for you. For example, if you (or someone you know) have written code that winds up calling rename $old, $new;, where $old eq $new, then I would consider that a flaw in the thought process that went into designing the code, not the fault of the system's rename.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||