From: "Mauricio Fernández" Date: 2002-08-10T04:16:10+09:00 Subject: Re: nil || // On Sat, Aug 10, 2002 at 01:50:51AM +0900, Paul Brannan wrote: > Why does this not work in Ruby 1.6: > > [pbrannan@zaphod scripts]$ ruby -v -e 'p nil || //' > ruby 1.6.7 (2002-03-01) [i686-linux] > nil ???, as this works: batsman@kodos:~$ ruby -v -e 'a=//; p nil || a' ruby 1.6.7 (2002-03-19) [i386-linux] // Does this mean // is taken as nil in your example? -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com * LG loves czech girls. LG: do they have additional interesting "features" other girls don't have? ;) -- #Debian