in reply to name of executing sub?

If you're working on logs, Might I recommend Log::Log4perl, assuming that you're not running super high workloads? It has quite a bit of information at it's fingertips, including the one you're looking for.