At 05:47 PM 8/15/00 -0600, Nathan Torkington wrote:
>Jeremy Howard writes:
> >   @result = @a || @b;
> >
> > Which applies '||' component-wise to elements of @a and @b, placing the
> > result in @result.
>
>*Ptui*  That's not how *I* want || to behave on lists/arrays.
>
>I want
>   @result  = @a || @b;
>to be like:
>   (@result = @a) or (@result = @b);
>
>That's what all my students keep expecting it to mean.

Seconded.

It seems obvious that @a should be the whole array @a, not an iteration 
over its elements. If I want to iterate over @a, I should have to do so 
explicitly, with a for() or map().
-------------------------------------------------------------------
Mark Cogan    [EMAIL PROTECTED]                     +1-520-881-8101     
ArtToday      www.arttoday.com

Reply via email to