perl:single_document_web_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
single_document_web_server [2007/11/26 11:20] – tkbletsc | single_document_web_server [2009/05/14 07:20] – tkbletsc | ||
---|---|---|---|
Line 1: | Line 1: | ||
This little script acts as a web server, but it serves only one document no matter what the requested URL was: the document embedded in the script itself. | This little script acts as a web server, but it serves only one document no matter what the requested URL was: the document embedded in the script itself. | ||
- | < | + | < |
# | # | ||
use IO::Socket; | use IO::Socket; |
perl/single_document_web_server.txt · Last modified: 2009/08/13 09:56 by tkbletsc