On 5/19/06, Andy Lester <andy@petdance.com> wrote:
>
> So I wonder if its better to just system() out to "mv" on Linux if I
> don't care about portability?
>
> @sysargs = ('mv', "$outbound/$file",
> "/datamining/intrasight/CRS/archive");
> system (@sysargs);
Yes.
Andy, Can you explain why it's better than File::Copy's mv? Just curious, that's all. I'm using mv in one of my programs, although for the life of me I can't remember why I decided to use it instead of 'system'. Thanks, Dave