From: Tobias Reif Date: 2002-02-11T18:09:11+09:00 Subject: handling errors Hi, somehow I had this working. --- class Doc def make "Content-type: image/svg+xml\n\n"+ '' h.l end end doc = Doc.new begin puts doc.make rescue print "Content-type: text/plain\n\n" puts 'myself speaking: ' +$! end --- with the erratic fifth line, I get --- err.rb:6:in `make': undefined local variable or method `h' for # (NameError) from err.rb:13 --- instead of --- Content-type: text/plain myself speaking: [...] --- Tobi -- * peace&love. * http://www.pinkjuice.com/