@davetron5000 @noelrap That's CGI's design. Input is on stdin and output is stdout. Use `curl` or similar to create an HTTP request to process.
Dave Copeland :ruby:
@getajobmike @noelrap that is…super weird. And I guess knowing that, the documentation does seem to agree even if it not exactly clear. It's so utterly strange, I'm surprised it's not documented more clearly, like "YOU CANNOT USE THIS CLASS LIKE NORMAL FYI”, or like ‘these examples 100% do not work if you cut/paste them into IRB unlike all other examples’.
I guess if one wanted to generate HTML in Ruby programmatically using the standard library…you can’t?