Hey Everyone,
Thanks for the help, all of these suggestions are great!
If everyone is really curious on why I would want to do such a thing, the answer is as follows:
In my company, I maintain a web based application that is entirely done in CGI scripts. Our web app is designed to run on any platform. My company now wants to be able to provide our web app on a solid state box which we can sell to our customers. The problem with the solid state box is we have to work with a small footprint, and also limited processing capabilities.
I figured I could write a server program in perl that will accept HTTP requests, figured out the file name and just run that particular script and return the output. This will save our footprint size by not needing a web server, and processing by not loading the perl interpreter for each page (as far as I think this would, I may wrong.)
This way, we can still use our web scripts on other machines with a regular web server and not have to maintain two sets of code.
(BTW, only one person at a time will be accessing the solid state box, so a robust web server isn't really needed.)
So that's where my crazy thinking has come from!
Cheers!
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.