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.
In reply to Re^2: Finding Oldest File in a Directory
by Aristotle
in thread Finding Oldest File in a Directory
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |