in reply to Debugging when using Apache-request;

you may also want to try

use CGI::Carp qw(fatalsToBrowser);

puts a nice err in the browser window so you don't have to dig through the logs. (of course I could be totally off on what you're wanting..)

Update: oh yeah.. thats a wrong answer.. i can't get my modules installed correctly to give a right answer. sorry. -p