From: George Moschovitis Date: 2004-09-14T19:34:52+09:00 Subject: Re: Catching undefined global variable errors Sorry everyone, my example was wrong, THIS is the surprising code: $the_key = "key1" a = { "key1" => 1, "key2" => 2} unless a[$the_ley] # orthographic error !!! # ruby doesnt catch this error puts "SURPRISE!!" end the orthographic error is in the variable. Shouldnt this be catched by the interpreter ? Any ideas ? -g.