Eric Hodel wrote: >> foo = [1, 2, 3] >> >> foo.each do |o| >> raise "Oh noes, it's number 2!" if o == 2 >> rescue Exception => e >> puts e.to_s >> end >> >> And so on and so forth. It seems pretty natural to me.... I don't >> think it breaks anything (least not off the top of my head)... > > You're going to get a performance hit setting up an exception trap this > way. Time for some down-South edumucation. What kind of performance hit are we talking about here? And why the hit at all? (I seem to recall reading somewhere once upon a time about memory stack stuff, but I'm not an old-school C-programmer so I never had to deal with it --- unfortunately for me...) -dave