From: Arlen Cuss Date: 2008-03-15T15:11:34+09:00 Subject: Re: how to abruptly end a program? ------=_Part_3593_33176916.1205561504627 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, On Sat, Mar 15, 2008 at 5:01 PM, Tom Cloyd wrote: > all produce the same result for me - "undefined local variable or method" > That DOES bring the program to an abrupt end, but its rather ungraceful. > Is this the intended result - a crash due to an interpreter error? > Certainly not :) Though I guess any identifier could do that then. Are you sure there's no whitespace or other content on the line? Can you show us an example? celtic@sohma:~$ cat test.rb #!/usr/bin/env ruby puts "Hi there!" __END__ This is just great. celtic@sohma:~$ ruby test.rb Hi there! celtic@sohma:~$ Thanks! Arlen ------=_Part_3593_33176916.1205561504627--