in reply to STDERR and CGI::CARP

Also check out things like Log::Log4perl ... or the many other CPAN packages on the "Log::" branch.