But when I run the same code with use strict commented out - it works just fine...
-----Original Message----- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 1:15 PM To: MCMULLIN, NANCY; [EMAIL PROTECTED] Subject: RE: Problem with use strict; 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 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>