http://www.perlmonks.org?node_id=933277


in reply to Re^3: Delete Old Directories
in thread Delete Old Directories

This is exactly the right idea! The file names shown will sort with a simple string comparison based upon the text from the file name. I am at a loss as to how to make this more clear.

Working with the filename is just much easier and more obvious than working with OS specific things like the -M file test.