If you're getting script errors, sometimes you can get more useful diagnostic information by adding "use CGI::Carp qw(fatalsToBrowser);" to the .pl file for which the error occurs. This causes error information that might only be written to the server's error log file to be displayed by a web browser. Example: #!/usr/bin/perl use CGI::Carp qw(fatalsToBrowser); # this line added use lib 'lib';