in reply to Re: Return newest filein thread Return newest file
$newest = (sort { -M $a <=> -M $b } <*.log>)[0]; [download]
Of course, TIMTOWTDI :)