Think about Loose Coupling | |
PerlMonks |
Re: How do I delete files based on their timestamp?by reptile (Monk) |
on May 09, 2000 at 00:35 UTC ( [id://10662]=note: print w/replies, xml ) | Need Help?? |
Or use perlfunc:stat from within perl. It'll give you just about everything you wanted to know about a file and more. The times returned are in seconds-since-epoch format just like time() so a little arithmetic and a comparison is all you need.
In Section
Seekers of Perl Wisdom
|
|