in reply to Reading a directory and getting file dates
This returns the number of days since the file was created, which allows you to easily determine which files are over a certain age if, for instance, you're trying to clean up your directory.$date = -C $file;
Otherwise, use stat.
|
|---|