From: Nikolai Weibull Date: 2005-07-30T03:45:30+09:00 Subject: Re: What does this assignment operator |= Adriano Ferreira wrote: > On 7/29/05, Stefan Achatz wrote: > > i think i once saw an assignment operator |= used in a ruby program. > > I can't find anything in the pickaxe-book and on google. What does > > it do? > Easily, > a |= b > is the same as > a = a | b > and | is bit-or. Well, not necessarily. For an array, the | operator is used to create the (unique) union of the array and a second argument array, nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}