Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

( #2589=categorized question: print w/ replies, xml ) Need Help??
Contributed by Zombie wakachika on Jan 29, 2000 at 07:08 UTC
Q&A  > CGI programming


Answer: How do I make my perl script readable by a browser with windows 98?
contributed by Snowdog

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
Answer: how do I make my perl script readable by a browser with windows 98?
contributed by garyj

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.)

Answer: how do I make my perl script readable by a browser with windows 98?
contributed by Pedro Picasso

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.

Answer: how do I make my perl script readable by a browser with windows 98?
contributed by Alex the Serb

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.

Please (register and) log in if you wish to add an answer



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others studying the Monastery: (5)
    As of 2014-08-01 02:53 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (256 votes), past polls