[EMAIL PROTECTED] (Damian Conway) writes:
> Err...that's not what that does. What you wrote creates a scalar value that
> superimposes the scalar values C< \@array > and C< 3 >.
> 
> To test if an array is full of 3's you'd write:
>       all(@array) == 3

Ah, I see. So (x & y) is equivalent to all(x,y) ?

> > Suddenly, @array.all?({ |$a| $a > 6 }) seems a lot more appealing. :)
> 
> More appealing than:
> 
>       all(@array) > 6

Yes. But then, if I want Ruby, I know perfectly well where to find it.

-- 
The Blit is a nice terminal, but it runs emacs.

Reply via email to