Hi I would like to compare two files by comparing the files dates. If one file shows ls -la May 12 2003 filename and the other name shows the same date they are OK for me (I'm not interested in the time part only the date of the file) But if the dates are not the same I would like to copy one of the files. How do I do this in Perl? if (file1 "not equal in date" file2) { cp file 1 someplace } Thanks in advance Fredrik Andersson
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/