Question by Michael R: How can I use Perl’s Copy package to preserve timestamps of the original file to be copied?
I’m using openSuse Linux with the standard Perl packages. I need to use Perl’s copy rather than UNIX’s “cp -p” because I need the error checking.
Best answer:
Answer by martinthurn
There is no “Copy” module, I assume you mean File::Copy. But that doesn’t matter, they way to get & set file timestamp is a FAQ entry, see below
Give your answer to this question below!












