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?
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:
Outside of code tags, you may need to use entities for some characters:
- 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
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||