[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] rename, link




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@petdance.com => www.petdance.com => AIM:petdance