As someone else has pointed out, you don't necessarily need Cygwin to develop and test Perl-based CGI code. A simple way to test your CGI code would be to use web framework modules like Dancer or Mojolicious to act as the web server for the CGI script. That would be good for the user interface part. However, it would be quite a bit different than an actual webserver as far as some back end stuff (such as user permissions to access local filesystem and utilities).

Just one note. It almost sounded like you installed Cygwin on a whim, hoping it would provide what you needed/wanted. Unless they have improved things, you might find a new nightmare if you ever decide that you don't want Cygwin anymore. The last time that I ever tried to uninstall Cygwin (which was several years ago), I never could get it to fully uninstall cleanly. The only way that I found to fully remove Cygwin was to reinstall the OS. I'm not saying that Cygwin is a bad thing to use. Just wanted to give you a heads up in case you decide that you want to remove Cygwin.


In reply to Re: Running Perl CGI scripts with Cygwin by dasgar
in thread Running Perl CGI scripts with Cygwin by JohnTabor

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.