How about tieing the STDERR filehandle to a class that automatically datestamps all of its output? My untested hope is that this would still play nice with Carp. ...just a thought.
Dave
Comment on Re: Using STDERR and timestamps to write to a log file