RE: Problem with use strict;

From: Bob Showalter (Bob_Showalter_at_taylorwhite.com)
Date: 05/14/04


To: "'MCMULLIN, NANCY'" <NANCY.MCMULLIN@DFAS.MIL>, beginners@perl.org
Date: Fri, 14 May 2004 15:14:53 -0400

MCMULLIN, NANCY wrote:
> Hi there.
> Brand new to PERL so please bear with me. (I'm running Win32/Apache)

Hi. It's "Perl", not "PERL". You're excused since you're brand new :~)

>
> When I include the line
> use strict;
> in any perl program, I get the following error:
> "Internal Server Error

Typically means your script has an error and won't compile, or your script
died or exited before emitting any output....

> The server encountered an internal error or misconfiguration and was
> unable to complete your request. Please contact the server
> administrator, [no address given] and inform them of the time the
> error occurred, and anything you might have done that may have caused
> the error.

Well, that's not helpful to you, but it's followed by:

> More information about this error may be available in the
> server error log.

Here's where you'll find the real error message. If you don't know where the
Apache error log is, now's the time to find it. Look in there to see
whatever error your script is raising.

HTH



Relevant Pages

  • running CGI from a subdomain
    ... for instance, if I want to run a script for www.subdomain.domain.com, ... Internal Server Error ... More information about this error may be available in the server error ... an ErrorDocument to handle the request. ...
    (comp.infosystems.www.authoring.cgi)
  • Re: ISE 500 due to overloading / time-out
    ... > Hi Folk ... > the end of the script, it creates a Internal Server Error 500 - sometimes ... The whole script runs though - it seems (error occurs somewhere ...
    (comp.lang.php)
  • Re: Very new to perl
    ... > "Internal Server Error ... > More information about this error may be available in the server error ... server's error log. ...
    (comp.lang.perl.misc)
  • RE: Problem with use strict;
    ... But when I run the same code with use strict commented out - it works just fine... ... > "Internal Server Error ... Typically means your script has an error and won't compile, ... Apache error log is, now's the time to find it. ...
    (perl.beginners)
  • Re: submit to FormMail.pl throwing some error.
    ... Internal Server Error ... More information about this error may be available in the server error log. ... use an ErrorDocument to handle the request. ...
    (comp.lang.perl.misc)