hasimir44 has asked for the wisdom of the Perl Monks concerning the following question:
Anyone have a suggestion on how to do the following without using the shell?
update: I didn't mention that the *B1006* filenames include timestamps. So, the last one alphabetically always happens to be the newest. My *real* mistake is that I titled this "oldest" instead of "newest". Damn. :)chomp($report = `ls $path/*B1006* |tail -n 1`);
Back to
Seekers of Perl Wisdom