Fenroy
I want to run a Perl script that constantly updates an HTML file so I can put a list of sub-directories on a site. The site is designed as a sort of listing location, where users of the site can create a new sub-directory to list any item they're selling. I want the Perl script to run constantly in the background so I can have an accurate list of these directories without manually adding one every time. How can I do this?
Any help would be greatly appreciated, as I'm currently making this site for someone else and he wants this feature.
EDIT:
Additionally, I can't get Perl to work at all. I get a 500 Internal Server Error whenever I try to access the script in my cgi-bin. I have the following code:
followed by all of the rest of my Perl code. Please tell me if I'm doing something wrong here, and if so, what I should do to fix this problem.
Another EDIT: I can't even get the following script to run without a 500 Internal Server Error.
It also doesn't work when I use
, so I have no idea why this isn't working.
Any help would be greatly appreciated, as I'm currently making this site for someone else and he wants this feature.
EDIT:
Additionally, I can't get Perl to work at all. I get a 500 Internal Server Error whenever I try to access the script in my cgi-bin. I have the following code:
| Code: |
| #!/usr/bin/perl
use CGI qw(:standard); use warnings; use strict; |
followed by all of the rest of my Perl code. Please tell me if I'm doing something wrong here, and if so, what I should do to fix this problem.
Another EDIT: I can't even get the following script to run without a 500 Internal Server Error.
| Code: |
| #!/usr/local/bin/perl
print hi; |
It also doesn't work when I use
| Code: |
| #!/usr/bin/perl |
