From: Brian Candler Date: 2003-07-17T00:56:23+09:00 Subject: Re: Other languages' features in Ruby On Thu, Jul 17, 2003 at 12:31:38AM +0900, Ben Giddings wrote: > Ok, but compare: > > "Test 473 failed: expecting 17, got 18" > > with > > "warning: on line 765 of myfile.rb: @myvar may not have been initialized" $ ruby -w -e 'puts "hello" if @myvar == 3' -e:1: warning: instance variable @myvar not initialized Just put "#!/usr/local/bin/ruby -w" at the start of all your scripts. As Matz has mused before, it should have been compulsory (with an option to turn it *off*) Regards, Brian.