in reply to Apache+cgi problem

Something I'm surprised Ovid didn't suggest. When debugging a CGI script, it's also a good idea to add:
use CGI::Carp 'fatalsToBrowser';
to the beginning of the script. If the script runs OK from the shell, this catches *most* other errors and conveniently displays them in your web browser.

Have a play and see what you think.

cLive ;-)

--
seek(JOB,$$LA,0);