| Functions for filehandles, files, or directoriesChange a filenameDaftar Isi - rename OLDNAME,NEWNAME
Changes the name of a file; an existing file NEWNAME will beclobbered. Returns true for success, false otherwise. Behavior of this function varies wildly depending on your systemimplementation. For example, it will usually not work across file systemboundaries, even though the system mv command sometimes compensatesfor this. Other restrictions include whether it works on directories,open files, or pre-existing files. Check perlport and either therename(2) manpage or equivalent system documentation for details. For a platform independent move function look at the File::Copymodule. Portability issues: rename in perlport. |
| |
|