http://qs321.pair.com?node_id=1106310


in reply to Re^2: comparing 2 file time date stamps
in thread comparing 2 file time date stamps

Run:

use strict; use warnings; my $test1 = 'test1'; my $test2 = 'test2'; open my $fOut, '>', $test1; close $fOut; open $fOut, '>', $test2; close $fOut; print "$_: ", (stat $_)[9], "\n" for $test1, $test2; sleep 5; open $fOut, '>', $test2; close $fOut; print "$_: ", (stat $_)[9], "\n" for $test1, $test2;

and tell us what you get.

Perl is the programming world's equivalent of English