I want to compare the output from a report with the output of the previous one. To do this I need to identify the most recent file in the report directory. I could, of course, do something like
but I would like to do it without resorting to the system call.
Any ideas?
Ceci n'est pas une signature
Columb Healy
Code:
my $lastlog = `ls -t $logdir|head -1`;
Any ideas?
Ceci n'est pas une signature
Columb Healy