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


in reply to use file::find to find files modified in last 5 days

If you're going to use perl, you really need to learn about perldoc. The most important command you need to start with is perldoc perltoc which asks perldoc to show you the perl TOC (Table Of Contents) which lists all the other things you can ask perldoc about. You can also go to perlfunc if you'd rather have the info on a web-page.

Do perldoc perlfunc and look for "file test". This will show you all the various file testing operators, like the -T you're already using and the -M you want here.