See the rename documentation. Renaming a file also works across directories. It does not work across drive letters or volumes. If you need to "move" the file across volumes, you need to use File::Copy to copy the file and then unlink to delete it.
In reply to Re: Can I use Perl to move an entire HTML file on a different server?
by Corion
in thread Can I use Perl to move an entire HTML file on a different server?
by kjg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |