Is there a good way to do this all on my local computer? To send the Perl script outputted HTML to a browser locally, and thereby set up my own little mock CGI?

I do a lot of personal CGI development on my Win98 laptop using ActiveState Perl and Microsoft's Personal Web Server (PWS). Much of that work later gets uploaded to a FreeBSD box running Apache. It works well for me for simple stuff. (For MySQL development, I stick with FreeBSD.)

PWS is a scaled-down version of IIS. It supports Perl CGIs just fine, with the standard caveats that some things like fork and flock don't work on Win98. (It's been a couple of years since I installed it, and I don't remember if it's on the Win98 CD or the Option Pack CD.)

I posted some advice here about getting PWS working with ActiveState Perl.

Another alternative is Apache. I've gotten Apache to work with Perl CGIs on NT, but have no experience with it on Win98.


In reply to Re: Mock CGI output to browser from Perl on Windows 98 by dws
in thread Mock CGI output to browser from Perl on Windows 98 by jeffpflueger

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &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.