As part of your complete solution, perhaps the module File::DirList would be helpful, as you can get the newest file in a directory from it:
use strict; use warnings; use File::DirList; my $dir = '.'; my $newestFile = File::DirList::list( $dir, 'M' )->[0]->[13]; print $newestFile;
Hope this helps!
In reply to Re: Reading constantly generated log files: Suggestions invited
by Kenosis
in thread Reading constantly generated log files: Suggestions invited
by perlgsm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |