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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: comparing 2 file time date stamps
by craigt (Acolyte) on Nov 06, 2014 at 15:30 UTC | |
by GrandFather (Saint) on Nov 06, 2014 at 20:30 UTC | |
by craigt (Acolyte) on Nov 07, 2014 at 14:07 UTC |