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

Hi! I've just installed the w3c markup validator (and tripple checked the installation instructions). But when the form is submitted to the "check" page, the entire perl script is displayed on the screen instead of executed - anyone know how I should fix this?? Thanks!
  • Comment on Perl Script Text Output (w3c Validator)

Replies are listed 'Best First'.
Re: Perl Script Text Output (w3c Validator)
by pingo (Hermit) on May 14, 2006 at 09:33 UTC
    You probably need to configure Apache (or whatever you are using) to actually run cgi's. This page may be useful if Apache is your thing.
Re: Perl Script Text Output (w3c Validator)
by TedPride (Priest) on May 14, 2006 at 09:29 UTC
    Obviously, the computer you're running the script on doesn't recognize the script as Perl. I assume you have a .pl extension on the script, and a Perl interpreter installed?