
Laurent_R
Enthusiast
Aug 14, 2012, 4:59 AM
Post #2 of 3
(906 views)
|
|
Re: [perl_learner] Script to delete only those files on a path whose accessed date is more than 7 days
[In reply to]
|
Can't Post
|
|
I though that, maybe, the last access date is not maintained under Windows (I am usually working on other operating systems, I don't know Windows well, I just use it as a work station) and therefore the -A file test does not return something sensible. But I've just tried under Windows:
perl -e "print -A qq/foo.bar/" and it did print 356,825... And by the way if I use -M, I get a much larger number. So I was wrong in this hypothesis. If exactly the same code work with -M and not with -A, that is quite strange. Does it print anything?
|