Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: cgi help
by marto (Cardinal) on May 19, 2010 at 20:02 UTC
Re: cgi help
by SilasTheMonk (Chaplain) on May 19, 2010 at 20:07 UTC
    I would have a look at this articles: CGI Programming. I'm surprised somebody has not come down on you with a very large RTFM. Actually I think I guess where you're coming from. You've rented some space on a fairly basic web server and you cannot work out how to get it going. I've been there. Sadly it all varies from company to company rather too much. So basically my advice would be to start very simple. Also search for advice on google using the name of your hosting provider. Also look round your file system on the webserver to find the cgi-bin directory. There should be a working test script of some sort there.
Re: cgi help
by Utilitarian (Vicar) on May 20, 2010 at 07:37 UTC
    marto's advice above to contact atspace support, is wise, however it is probable that if you name the cgi scripts .pl or .cgi they will run (when you allow cgi execution in any folder you specify which file extensions are to be executed). The file also needs to executable.

    PS Ovid's course is an excellent introduction to writing your own CGI scripts.

    print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."