Jump to content


Photo

How Do I Run A PERL Script?


  • Please log in to reply
1 reply to this topic

#1 MoFish

MoFish
  • Members
  • PipPipPip
  • Advanced Member
  • 210 posts

Posted 24 April 2006 - 11:34 PM

Hello All! You may thing, oh my god why is this guy doing Perl. I'm thinking the same thing, but it’s a mandatory part of my course work for university. I have created a script, or I think I have created a script, which will convert temperatures. I have put the conv.pl file in my cgi-bin, and chmod it to 777, allowing it to execute. I then put my HTML page in a sub folder called PERL. When I try to run the script i get the following error.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.

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

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


What exactly does this mean in PERL terms. Is this something on the server or is this a error which normally occours within perl if the script is incorrect? If required i will post my actuall code.

Thanks Again, MoFish.

#2 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 25 April 2006 - 11:54 AM

That looks like it can't even find the page with the Perl script. Normally Perl errors result in a CGI Error screen or something with information about the script itself. And why are you posting this on a PHP forum??? Surely there are places out there for help on Perl.

Info: PHP Manual





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users