in reply to Assesing file timestamp
--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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Assesing file timestamp
by Hofmator (Curate) on Jan 30, 2003 at 14:06 UTC | |
by davorg (Chancellor) on Jan 30, 2003 at 14:17 UTC |