From: timsuth@... (Tim Sutherland) Date: 2002-12-01T08:40:41+09:00 Subject: Re: Scalars In article , Tim Sutherland wrote: >In article , Daniel >Carrera wrote: >>> > In Ruby, do you use the world "scalar" as it's used in Perl? (variables >>> > that hold a single value). >>> > >>> > Or is there a different term? >>> >>> There's no equivalent term, because any variable can hold a reference >>> to any object. >> >>That's also true in Perl. What I mean is, "a variable that is not an >>array or a hash". > >Apart from syntax, there's nothing special about Array or Hash objects in >Ruby, so there's no special word for them. I meant "there's nothing special about strings or numbers. (Apart from Fixnum's being immediate values.)