First make sure that that your server works by typing http://127.0.0.1 into your browser. If you get an error page that that means the server isn't running and you have to start it. If your server is running, Run a script like this:
#!perl use CGI; $x = new CGI; print $x->header, $x->start_html; print "Hello, World\n",$x->end_html;

Did that work? your path on Windows should really only have to be #!perl </code>
Update: to answer your question without advocating CGI.pm or assuming that perl is on your path.
#!C:\Perl\bin\perl print "Content-type: text/html\n\n"; print "Hello World"; #end script
will probably work just fine. you need to specifically mention the program in C:\Perl\bin that will be interpreting the program, which is of course called perl.exe. the .exe is not necessary, though.

In reply to Re: neophyte question w/win2k by thunders
in thread neophyte question w/win2k by Anonymous Monk

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.