in reply to In HTTPServer - how do I get POST content?

Wait a sec... this display above is an abstract list of all the environmental variables available, right? So, it looks like your webserver is putting the input in the REQUEST_METHOD env var - if this is the case, then $ENV{'REQUEST_METHOD'} =~ m/\n(.*)/s; or on wherever your server's storing that env var.

Now, as I reread, the most likely scenerio is that you're reading the env content from a file, in which case, you would
    m/REQUEST_METHOD[^\n]+\n(.*?)\n[A-Z_]{4,}/s

Let me quickly state that this last regex is horrible as it would stop in the middle of your input if it reached a newline and then 4 capital letters - but if you have a specific sort of input, it may work for you.

Hope it helps,
  -Adam

--
Impossible! The Remonster can only be killed by stabbing him in the heart with the ancient bone saber of Zumakalis!