How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Russell H. Your Own Question

Russell H.
Russell H., Programmer & Coder
Category: Programming
Satisfied Customers: 9294
Experience:  Programmer & Coder
Type Your Programming Question Here...
Russell H. is online now
A new question is answered every 9 seconds

How do you run world in CGI? OKPR515211

Customer Question

How do you run hello world in CGI?
Submitted: 5 months ago.
Category: Programming
Expert:  Russell H. replied 5 months ago.
Hi, thank you for contacting My name is Russell. I will do my best to provide the right answer to your question. What stage of running the perl script or .pl file do you need to know about?Do you need to know about writing the hello world script? if so, you can follow basic directions on a web page that I will shortly cite for you.Do you need to know simply how to run it as a command or at the command line? then you need a Perl interpreter on your computer, and I would need to know what computer you wish to run it on, e.g. Linux computer, or Windows, etc.On a Linux computer, you would run it by first copying the hello world script to another directory, then changing (ren -ing its name) to end in .cgi, then you would simply invoke it from that directory like this at the command line: ./helloworld.cgi (or a dot, a forward slash, and the name of the copy of the file that you renamed to .cgi.) Here's a web page with all the basics: