Hey,
When you say you have Perl set up on your system and that meaning you have ActiveState Perl installed correctly then my suggestion is this:
Goto your Administration tools, and click Internet Service Manager. Find your website listed, and then click its properties. Click "Home Directory" tab and click the button called Configuration. After that, click the add button to add a extension.
Type .pl or whatever your planning to run most of your scripts as and then add the path:
c:\perl\bin\perl.exe %s %s
Also, if your planning on using taint mode for your scripts, might want to add another extensions called .plt or something and add the path:
c:\perl\bin\perl.exe -T %s %s
From there, I'm pretty sure your system would recognize .pl files to be an perl script and to be executed by the Perl interpreter.
I once had a similar problem where when trying to run a perl script through the browser, it'll recognize it as a text file and offer to download it rather then execute it.
Anthony
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.