>>>>> "a" == ahoward  <ahoward / fsl.noaa.gov> writes:

a> rescue doesn't normally catch NameErrors

 This is changed in 1.7

pigeon% /usr/bin/ruby -e 'a = [].to_str rescue "[]"; p a'
-e:1: undefined method `to_str' for []:Array (NameError)
pigeon% 

pigeon% ruby -ve 'a = [].to_str rescue "[]"; p a'
ruby 1.7.3 (2002-11-17) [i686-linux]
"[]"
pigeon% 

Guy Decoux