Try sending fatals to the browser using the following:

use CGI::Carp 'fatalsToBrowser';

I've seen a few times where this wouldn't work (for some stupid server
reason) so you can also try the following:

BEGIN {
 open STDERR, ">&STDOUT";
 $oldfh = select STDOUT;
 $|=1;
 select STDERR;
 $|=1;
 select $oldfh;
 print "Content-type: text/html\n\n";
}

Basically the above BEGIN scope turns off buffering for standard error
and standard out.  Forcing it to print any errors to the browser.  Ugly,
but functional.  :o)

Brian Johnson
Partner/Systems Administrator/Programmer
Source1Hosting.tv, LLC (www.source1hosting.tv)
Source1Results.com, LLC (www.source1results.com)
I may be insane, but remember - The only
difference between an insane man and a
genius is his jacket.

> Hello Everybody..........
> 
> 
> What i have done is placed a .cgi file in cgi-bin directory 
> of web server. from here
> i am calling on submission
> 
>  <form method="POST" action="search_results.cgi">
> 
> search_results is also placed oin cgi-bin dir. of same server.....
> 
> But it is giving Internal server error.i have not done much 
> in search_results.cgi  so basically i feel there is no syntax error.
> 
> 
> What are the possible reasons of error......Please 
> Help!!!!!!!!!!!!!!!!!
> 
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to