As you learn the tricks of regular expressions, and the joys of operator overloading...
Aso you debate the merits of ASP and JSP...
A monster lurks.
An evil beast, determined to bore you to death and eat your soul.
"But it can't happen to me," you say.
"I work on the web, not at a bank. No legacy systems here!"
How wrong you are.
05 my-variable PIC X(40).
05 WS-CONTENT-LENGTH PIC 9(05).
GETENV USING `CONTENT_LENGTH` WS-CONTENT-LENGTH.
IF WS-CONTENT-LENGTH IS GREATER THAN 0 THEN
ACCEPT DATA FROM WEBPAGE
DISPLAY `Content-type: text/html`.
DISPLAY `<CENTER>Hello World</CENTER>`.
DISPLAY `my-variable: ` & my-variable.
* comments and rest of program omitted
Bwah ha ha ha ha ha.
(This ghastly abomination brought to you from cobolscript.com)