in reply to Formatting STDERR

Try to look at Log::Log4perl - module for control and costomize the loggin behaviour in your applications. It's a port Log4j on Perl. There are many features - loggin levels, logger categories, log messages layouts, dispath log messages to file, on screen, by email etc.

Hope it will be helpful!

~ Schiller