|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^3: Correct code for deleting old file?by rovf (Priest) |
| on Jun 18, 2012 at 08:16 UTC ( #976786=note: print w/ replies, xml ) | Need Help?? |
|
Basically i agree with you. I had assumed that you from your knowledge of your application, you know for sure that the names which you had collected in your file list, certainly contain plain files (and not directories, symbolic links or what else). In this case (only) it makes sense to omit the file testing.
-- Ronald Fischer <ynnor@mm.st>
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||