Although untested, this is basically how you approach this sort of thing.my ($newest) = sort { -M $b <=> -M $a } glob("*");
In reply to Re: Get newest file
by tadman
in thread Get newest file
by Spida
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |