in reply to Re^2: Checking Age of Files
in thread Checking Age of Files

It returns a real (as opposed to integer) number of days, so -M * 24 > 2 should do fine for the OP if he's ok with being off by an hour around DST changes.

Replies are listed 'Best First'.
Re^4: Checking Age of Files (-M precision)
by toolic (Bishop) on Jan 26, 2010 at 13:23 UTC
    That is an extremely useful piece of information which is not at all obvious to a (below-)average Perl user, such as myself. I interpreted "days" to mean that I should not expect it to resolve fractional days, or less than a day. But, it sounds like the actual resolution might be seconds.

    Is this explicitly mentioned anywhere in the documentation? If not, I think it would be a valuable addition to the -M doc. It would be great if you transferred your knowledge to a patch.