[Omaha.pm] rename, link
Andy Lester
andy at petdance.com
Fri May 19 08:41:53 PDT 2006
>
> 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.
>
> Is that the same thing as making a system() call to "cp" on Linux?
> symlink() is for symbolic links, link() is the same thing as "cp"?
no, link() is for hard links.
> Or would I be cooler if I just used some File::* class off CPAN
> nowadays? -grin-
File::Copy has been core since 5.002.
xoa
--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
More information about the Omaha-pm
mailing list