in reply to Re: Intermittent bug in module: File not getting deleted as expected
in thread Intermittent bug in module: File not getting deleted as expected
I think you mean:
if (-M $file > -2)
In other words, -1.15 is less than -1, not greater than ;)
Either way, it would be nice to find out exactly what's happening here. I'll play around later. If you happen to find anything, post back please.
In Section
Seekers of Perl Wisdom