- or download this
use strict;
- or download this
use warnings; # as well?
- or download this
if ($ARGV[0] eq "") { $ARGV[0]="."; }
- or download this
@ARGV = '.' unless @ARGV;
- or download this
my @file_list;
find ( sub {
...
push (@file_list, $file)
}
}, @ARGV);
- or download this
my @stats = stat($file);
if ($now-$stats[9] > $AGE) { # file older than 14 days
- or download this
if ($now-(stat $file)[9] > $AGE) { # file older than 14 days