Thanks, Tom. This is exactly the sort of explanation I was looking for.

Folks, I was not trying to bash ruby, just trying to figure out why
something that looked very strange to me is the way it is.

Cheers,

Luciano

On 12/20/06, Tom Pollard <tomp / earthlink.net> wrote:
> The point is that 'or' and 'and' have /lower/ precedence than
> anything else, so that they can be used to chain complete expressions
> together.   This is a Perl-ism, to my knowledge and a number of
> common Perl idioms are based on this. (...like, 'open(my $handle,
> $filename) or die').