Given two files which have the same modification time down to the second,
is it possible to tell which one was modified most recently?
I have a chain of 'make'-like scripts written in Perl: Script 1 builds
file B from file A, and script 2 builds file C from file B. So, if A is
modified, B and C are rebuilt in turn.
The problem is that the rebuilding process takes less than a second,
resulting in files B and C having the same modification time. Thus on the
next build, if A is not modified there is no way for script 2 (which is
not aware of file A) to tell whether or not file C needs to be rebuilt.
Even though the build is quick, I want to avoid doing it unnecessarily.
-- Jamie Webb