Moving files across filesystem boundaries? It doesn't work with rename.
I always use File::Copy instead of rename for this reason.
use File::Copy; move('/old/path', '/new/path') or die "Can't move: $!";
--
Ilya Martynov
(http://martynov.org/)
In reply to Re: Re: Unix command working with Perl
by IlyaM
in thread Unix command working with Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |