Im having some problems trying to run a perl script. I'm completely new to perl, and I'm thinking this has to do with apache not knowing what to do with the file.
Here's the code:
#!/usr/bin/perl
print "content-type: text/html \n\n";
print "Hello, Perl!";
Super simple. Running it from command line works perfecly
$/usr/bin/perl /var/www/html/test.pl
When I try to run it through a browser, it wants to download the file. Any ideas?