in reply to Re: Finding Oldest File in a Directory
in thread Finding Oldest File in a Directory
Yep. It would be better yet to use File::Spec though.
use File::Spec::Functions qw( catfile ); # ... my $x = stat( catfile $dirname, $file )->mtime;
Makeshifts last the longest.
|
|---|