if( -M $file > 7 ) { print "$file is older than 7 days.\n"; }