?
Solved

Scripts, Running in PC with Win95 and

Posted on 1997-12-17
3
Medium Priority
?
130 Views
Last Modified: 2013-12-25
What I must to inorder to get scripts (perl and ...) work in my home PC, that is not a 'server'.
So I could test how my scripts work when run inside Netscape or IE. And before I transfer them into my homepage-location.
---ThankYou
0
Comment
Question by:TMan
[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
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
icd earned 120 total points
ID: 1831676
You need to obtain Personal Web Server from the microsoft site and install it.

You then obtain the WinPerl program and install that. Both these steps are very straight forward.

The only difficult problem is that a change to the registry is often needed.

  Run regedit and look for the following entry.

  My
  Computer\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Svc\Parameters\Script
  map

  you need an entry for .pl with the value
  "c\perl\bin\perl.exe %s %s" (or equivalent path)

  The main point being the two %s value (although only one can work)

  You also need to ensure that the directory running the scripts is set up to be executable using the
  administration page of PWS

0
 

Author Comment

by:TMan
ID: 1831677
Thanks icd,
but is that the only way...
Installing LARGE MicroSoftware to get small scripts running...?

I'll be back next year... 'll check/test your suggestions then.

MERRY CHRISTMAS !!!
0
 
LVL 5

Expert Comment

by:icd
ID: 1831678
I don't think that PWS is all that large?

There is another way but not so useful.

Run your perl scripts with

perl yourscript.pl >test.html

You can then load the test.html file using the 'file' option of your browser. It does not work for script requiring input, only for those creating output.


0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
Suggested Courses

801 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