![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re^5: delete old files (windoze)by kutsu (Priest) |
on Oct 22, 2004 at 13:44 UTC ( #401470=note: print w/replies, xml ) | Need Help?? |
I don't have a windows machine available, but I doubt it's because of the network drive (having done some copying, renaming, and deleteing on windows network drives). I would suggest you use a debugger and print $_ at the start of the while loop to ensure that the files found by File::Find match the files actually in the directory. "Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce
In Section
Seekers of Perl Wisdom
|
|