Think about Loose Coupling | |
PerlMonks |
Re^2: rm old directoryby moritz (Cardinal) |
on Jul 22, 2008 at 20:56 UTC ( [id://699426]=note: print w/replies, xml ) | Need Help?? |
Relying on atime is generally a bad idea. I for one disable atime tracking during mounting, because IMHO it's a bad idea to have a side effect from every read.
On my box your script would thus remove many directories that should stay. So rather rely on mtime.
In Section
Seekers of Perl Wisdom
|
|