in reply to Re^2: [OT] Alternative, supplement to Perl for sysadministration?
in thread [OT] Alternative, supplement to Perl for sysadministration?
File::Copy doesn't care about file permissions - the permissions it creates for a newly created file are independent of the original file. Hate! A copied executable should be executable, but File::Copy disagrees.
Therefore, I always use system 'cp', $source, $destination. Not to mention that system 'cp', @sources, $destination just works.
|
|---|