http://www.perlmonks.org?node_id=239

rename

See the current Perl documentation for rename.

Here is our local, out-dated (pre-5.6) version:


rename - change a filename



rename OLDNAME,NEWNAME



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