You are viewing the version of this documentation from Perl 5.005_01. View the latest version
rename OLDNAME,NEWNAME

Changes the name of a file. Returns 1 for success, 0 otherwise. Will not work across file system boundaries.