Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

how do I make my perl script readable by a browser with windows 98?

by wakachika (Initiate)
on Jan 29, 2000 at 07:08 UTC ( [id://2589]=perlquestion: print w/replies, xml ) Need Help??

wakachika has asked for the wisdom of the Perl Monks concerning the following question:

how do I make my perl script readable by a browser with windows 98?

Originally posted as a Categorized Question.

Replies are listed 'Best First'.
Re: How do I make my perl script readable by a browser with windows 98?
by Snowdog (Sexton) on Jun 18, 2000 at 00:27 UTC
    You would also want to install the pws from the add-ons directory. Run setup and then edit the registry so that the computer runs the perl script.

    Here is micro/----start cut here---/soft's say.

    On the Start menu, click Run. In the Open box, type "Regedit" without the quotation marks and click +OK. Open the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC \Parameters +\ScriptMap On the Edit menu, point to New, and click String Value. Name the value .pl and press Enter. Select .pl, and click Modify on the Edit menu. In the Value Data box, <the full path to perl.exe>\perl.exe %s %s NOTE: The "%s %s" is case sensitive. (e.g. "%S %S" will not work). Close the Registry Editor, and restart your computer.
    More here
Re: how do I make my perl script readable by a browser with windows 98?
by garyj (Novice) on Jan 02, 2002 at 04:46 UTC
    I was in the same boat and getting nowhere until I got the following advice from Perl Monk 'Tye':

    "Although the version of Perl source code from ActiveState is the most popular, I prefer IndigoPerl because it has a more basic install process, a less restrictive license, a nice GUI module installer, and includes Apache web server."

    - tye (but my friends call me "Tye")

    I definitely recommend Indigo Perl -- it's fast, easy, and nothing new to learn for Windows users. After installing, follow the instructions for 'Using the Apache Webserver'. You can be up and running in 15 minutes. (You don't need to do the registry edits other methods require.)
Re: how do I make my perl script readable by a browser with windows 98?
by Pedro Picasso (Sexton) on Jun 13, 2001 at 18:42 UTC
    I've had success installing Apache on my Windows box at home. I'm running ME, but there shouldn't be a difference. http://www.apache.org

    There's also a good discussion on Web Servers For Windows 98 elsewhere.

Re: how do I make my perl script readable by a browser with windows 98?
by Alex the Serb (Monk) on Dec 14, 2001 at 16:04 UTC
    After the installation of Apache, all Perl scripts in cgi-bin directory of Apache should begin with:
    #!c:\perl\bin\perl -w
    the Apache will then execute the program you've put after #! string... so if your path to Perl is different, you should put that path.
Re: how do I make my perl script readable by a browser with windows 98?
by Pedro Picasso (Sexton) on Jun 13, 2001 at 18:03 UTC
    I've had success installing Apache on my Windows box at home. I'm running ME, but there shouldn't be a difference. http://www.apache.org

    Originally posted as a Categorized Answer.

Re: how do I make my perl script readable by a browser with windows 98?
by Anonymous Monk on Jun 05, 2001 at 17:37 UTC
    you can use Sambar Server. http://www.sambar.com/

    Originally posted as a Categorized Answer.

Re: how do I make my perl script readable by a browser with windows 98?
by Alex the Serb (Monk) on Dec 14, 2001 at 16:10 UTC
    .. uh .. I forgot to add that Windows is history .. Linux rules, dudes! So put your Windows98 in garbage where it belongs and buy Linux, any Linux distribution with 7 disks will do, because you have everything that you'll ever need for 80 DEM!!!

    Originally posted as a Categorized Answer.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://2589]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-03-29 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found