dfog has asked for the wisdom of the Perl Monks concerning the following question:
or is the assumption that the last modified time does not survive the copy. My experience has been that if you copy a file, it maintains its last modified time, but I would like some confirmation that this is true. Any insight into this would be greatly appreciated.if (-M $File1 != -M $File2) { copy ($File1, $File2); }
Edit 2001-03-15 by tye, changed title
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Preserving "last modified" time stamp when copying files with File::Copy
by tye (Sage) on Mar 15, 2001 at 21:49 UTC | |
by dfog (Scribe) on Mar 15, 2001 at 22:02 UTC | |
by jeroenes (Priest) on Mar 15, 2001 at 22:06 UTC | |
|
Re (tilly) 1: Preserving "last modified" time stamp when copying files with File::Copy
by tilly (Archbishop) on Mar 17, 2001 at 21:00 UTC |