[Omaha.pm] rename, link

Dave M dave.nerd at gmail.com
Fri May 19 10:03:53 PDT 2006


On 5/19/06, Andy Lester <andy at 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


More information about the Omaha-pm mailing list