Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
To be honest, I've never programmed a CGI script in anything but Perl. I've always known, however, even from the beginning, that there were other ways to do it. I guess some use C or python, or ASP, or whatever. I have no experience with any of the alternatives, and have no idea whether any of them functions from a compiled state or not. So, yes, I suppose I am ignorant in this area. Programming is my hobby, not my bread and butter. This is why I appreciate perlmonks so much. It is wonderful to be able to share with other programmers.

I know that the Perl script is compilable, but it still must be interactive, and needs to be able to access the MySQL database. I don't see how mysql would integrate with a compiled Perl program based on user inputs, nor how I can convert the web form into something that would be independent from a browser.

Another puzzle, for me, since I've never done this before, is whether or not the compiled program would accept the "GET" or "POST" style tokens as command line arguments, or how I would pass the variables into it. Perhaps it's best that I just stick with Server2Go. I don't know any other way, and maybe there isn't really any other option. What do people do with compiled Perl/CGI programs anyway?



In reply to Re^4: How to run a linux/perl-based website on a CD for Windows by Polyglot
in thread How to run a linux/perl-based website on a CD for Windows by Polyglot

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, 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
  • 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.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others romping around the Monastery: (4)
    As of 2018-05-25 09:35 GMT
    Find Nodes?
      Voting Booth?