I'm trying to get a script to work in win32 environment and need some kind of equivalent for:
which returns the modified date for a file but doesn't seem to work here since all dates look like "1970-01-01 00:00:00".
The stat function seems to work, at least when I try it with Active Perl. I forgot to mention that I'm using
. I also tried Corion's suggestion of enabling warnings, but nothing shows up.
Update II: I think I found the problem. It reports correct dates on
.