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

I'm using Strawberry Perl on a windows 8.0 PC.

I created a web page w/ a form.

However, when I fill out the form & click on Submit, it creates a problem.

Instead of running the Perl script I stated in the POST tag, it actually displays the text of the Perl script.

Any suggestions to get the script to actually run?

Replies are listed 'Best First'.
Re: HTML form showing PERL
by stevieb (Canon) on Nov 19, 2015 at 19:43 UTC

    Welcome to the Monastery, VeeeMan!

    You need to configure your web server (IIS I assume) to handle Perl scripts as a proper CGI application.

    I don't do much with Windows and it's been 10 years since I've touched IIS, but I think this guide may help you.

    Let us know.

    -stevieb

      Thanks, stevieb.

      I'll look into that in more detail later today.

      At this point, both the HTML page/form & the Perl script are on the same PC.

      Will that matter?

        Nope, that's the most common configuration. Note though that I'm not familiar with what version of IIS is on the newer version of Windows, so if it isn't IIS v7, the procedure will likely be similar but not exactly the same.