The exact same question has been answered just a couple of hours ago.
You can provide name-value pairs by entering things like `name=whatever'
and finish with CTRL-D. The provided parameters can then be used
in the script.
···
Am 28.11.2012 20:54, schrieb Al Baker:
i'm using this example in BEGINNING RUBY of using a cgi code and got
this:
irb(main):002:0> #!/usr/bin/ruby
irb(main):003:0* require 'cgi'
=> true
irb(main):004:0> cgi = CGI.new
(offline mode: enter name=value pairs on standard input)
what am i supposed to do at this point. I can't proceed from here.