in reply to Removing files with extentions of log and date-time.
I love Perl Monks!! I had a similar program reading in the
contents of a directory into an array, but I was using 'split'
and then evaluating the extension of the file variable, so the code
was a lot longer and messier. I have now re-written this code
and it looks alot smarter and hopefully works quicker. It's always
good to see other peoples ideas and see different approaches and
solutions to problems encountered.