As a previous reply points out, File::Copy is a good place to start, for a truly portable approach to the problem. If you are just working within a very localized directory structure (i.e., not planning on crossing any device boundaries, etc.) you might get away with just using the rename system-call. Check perlport to see if there are any issues on your platform. I personally would recommend using File::Copy since it is part of the Perl core.
--rjray
In reply to Re: moving files
by rjray
in thread moving files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |