- or download this
my ($cretime) = eval { stat("$SPOOL/$file")->ctime }
or next;
push @files, [ $cretime, $file ];
- or download this
my $stat = stat("$SPOOL/$file")
or next;
push @files, [ $stat->ctime, $file ];
- or download this
$ perl -MFile::stat -le'print "".localtime( stat("a")->ctime )'
Wed Jul 29 12:13:21 2009
...
$ perl -MFile::stat -le'print "".localtime( stat("a")->ctime )'
Wed Jul 29 12:13:46 2009