in reply to Re^4: accessing file attibutes
in thread accessing file attibutes

if (-M($filename) > 2) { print "$filename was last modified over 2 days ago\n"; }
See also the link in my post above.

Replies are listed 'Best First'.
Re^6: accessing file attibutes
by runrig (Abbot) on Nov 15, 2006 at 23:04 UTC
    Also, since he's just done a -d $path, doing -M _ will save another implicit stat.