From: Ned Konz Date: 2001-11-16T07:55:28+09:00 Subject: [ruby-talk:25351] Re: CGI beginner's trouble On Thursday 15 November 2001 02:14 pm, Niklas Backlund wrote: > I was unable to try things out in 'irb' (as I usually do when I'm > experimenting) as I also get the following dilemma: > > irb(main):001:0> require 'cgi' > true > irb(main):002:0> cgi = CGI.new("html3") > (offline mode: enter name=value pairs on standard input) > > from which there seems to be no escape other than breaking out of > 'irb'... So at that point you just enter your form field values: name1=value1 name2=value2 where is the appropriate end of file character from the keyboard (on Unix, usually Ctrl-D, on Windows, often Ctrl-Z). -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com