grep++, thanks this has worked wonderfully! ;-)
My code is a prime example of how one should never misuse (or shell I say 'abuse'?) a module for his own good. {grin}
update:
Thanks for the timezone conversion code,
grep! ;) Although now I run this monitor script on the same server that the primary application (generating the logs) is running on, there's a possiblity of monitoring logs generated on remote servers residing in different time zones. This is when the timezone conversion will become handy.
_____________________
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce
the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true."
Robert Wilensky, University of California