|
|
| XP is just a number | |
| PerlMonks |
Re: Return newest fileby cchampion (Curate) |
| on Aug 13, 2003 at 10:36 UTC ( #283502=note: print w/ replies, xml ) | Need Help?? |
|
You can get the last file in one go.
If you have a very large number of files, you may consider using the Schwartzian Transform to minimize sorting time.
Both versions are short enough to be used in a one-liner. Update
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||