|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Deleting files older then 48 hours..by stefan k (Curate) |
| on Nov 12, 2001 at 18:40 UTC ( #124833=note: print w/ replies, xml ) | Need Help?? |
|
Hi, But then you seem to want to do this in perl. Simply put a check into your loop: (Please note the regexp test (/blahblah/) could be replaced by string equality ( eq "blahblah.zip") when you really(!) need performance, and please lookup the return values of -M and stat since I'm not really sure of it). Maybe you should consider using File::Find for this...
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||