On Thu, 2006-20-04 at 13:08 +0100, Dermot Paikkos wrote:
> On 20 Apr 2006 at 11:54, Saurabh Singhvi wrote:
> 
> > Hi
> > 
> > I am getting 500 internal server errors when i use
> > 
> > #!/usr/bin/perl -wT
> > 
> > in cgi's. It goes away if i remove the T part. So what could be the
> > problem?/
> 
> Something is tainted.
> 
> Check the web-server error log for the perl error.
> 
> Have a read of perlsec to see how to use taint and avoid errors.
> HTH.
> Dp.

You may want to add this to your program, at least, for development:

  use CGI::Carp qw(fatalsToBrowser);

It will send fatal errors as HTML back to the browser. See `perldoc CGI`
and `perldoc CGI::Carp`.


-- 
__END__

Just my 0.00000002 million dollars worth,
   --- Shawn

"For the things we have to learn before we can do them, we learn by doing them."
  Aristotle

* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is at http://perldoc.perl.org/



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to