From: Stefan Kaes Date: 2005-11-23T02:48:27+09:00 Subject: Re: semenatics of if/unless/while statement modifiers Mathieu Bouchard wrote: >the reverse "if" in Ruby is more of a mirror image of "and" than it is of >the forward "if". It's just like it is in Perl. > > Only that Perl allows you to assign to $something in exit unless ($something = "works"); print $something; which will print "works". Which means it behaves as I expected. Unless you are running in strict mode, which doesn't exist in Ruby. Or does it? -- stefan