From: Joseph McDonald Date: 2001-10-06T03:19:49+09:00 Subject: [ruby-talk:22136] parse all code befoe executing The following will not work in ruby because the method is defined *after* ruby attempts to execute the method "hello": hello def hello; puts "hello"; end My question is: are there any benefits to such behavior? Would it be better if ruby parsed the entire file before beginning execution (like perl does)? Is it possible or would it break a core ruby behavior? thanks, -joe