=over =item rename OLDNAME,NEWNAME Changes the name of a file. Returns C<1> for success, C<0> otherwise. Behavior of this function varies wildly depending on your system implementation. For example, it will usually not work across file system boundaries, even though the system I command sometimes compensates for this. Other restrictions include whether it works on directories, open files, or pre-existing files. Check L and either the rename(2) manpage or equivalent system documentation for details. =back