my @files_sorted = sort (glob('yourpath/bobby*.txt')); my $latest_file = $files_sorted[-1];
Cheers
mildside
In reply to Re^4: efficient way to find most recently modified files?
by mildside
in thread efficient way to find most recently modified files?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |