--my $latest = (sort { -M $a <=> -M $b } </path/to/dir/*.log>)[0];
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Assesing file timestamp
by davorg
in thread Assesing file timestamp
by stew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |