Just a thought -- could this be a result of using File::stat? When you use it, it overrides the built-in stat to return a File::stat object that you access like this:
my $fs = stat($file); my $mtime = $fs->mtime();
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In reply to Re: Compare mtime?
by xdg
in thread Compare mtime?
by mbeason
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |