Solved

When I try to run a Perl/CGI program...

Posted on 1998-12-23
3
196 Views
Last Modified: 2010-03-05
I get prompted what I want to save it as.  Instead of the Script running.  Any clues?
0
Comment
Question by:browndar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Expert Comment

by:martinag
ID: 1207145
I assume you're running Windows.
You need to install Microsoft's Personal Web Server (PWS): http://www.microsoft.com/windows/ie/pws/default.htm

Martin
0
 

Expert Comment

by:dbetz
ID: 1207146
Not onlt install PWS, but perl is not a MS product(actually ANTI-MS).

You need to get perl from perl.com or perl.org and put it in a directory(c:\perl) and associate the PL extention with PERL and you will be all set.

This WILL work.  I have done it many times for many clients.  If this works I will re-post as an answer.
0
 

Accepted Solution

by:
toannds earned 20 total points
ID: 1207147
If you're running Personal Web Server and ActivePerl for Windows you must make sure the entry .pl of

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Svc\Parameters\Script Map\

points to perlis.dll

for examples, on my computer it is: C:\Perl\5.00502\bin\MSWin32-x86-object\perlis.dll

Use Regedit.exe to check it please!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question