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
- Re: RFC 104 (v1) Backtracking Johan Vromans
- Re: RFC 104 (v1) Backtracking Jeremy Howard
- Re: RFC 104 (v1) Backtracking John Porter
- Re: RFC 104 (v1) Backtracking raptor
- Re: RFC 104 (v1) Backtracking John Porter
- Re: RFC 104 (v1) Backtracking Nathan Torkington
- Component wise || and RFC 82 (was Re: RFC 104 (v1... Jeremy Howard
- Re: Component wise || and RFC 82 (was Re: RFC... Nathan Torkington
- Re: Component wise || and RFC 82 (was Re:... Damien Neil
- Re: RFC 104 (v1) Backtracking Mark Cogan
- Re: RFC 104 (v1) Backtracking Jeremy Howard
- Re: RFC 104 (v1) Backtracking Mark Cogan
- Re: RFC 104 (v1) Backtracking Chaim Frenkel
- Re: RFC 104 (v1) Backtracking Mark Cogan
- Re: RFC 104 (v1) Backtracking Jonathan Scott Duff
- Re: RFC 104 (v1) Backtracking Mark Cogan
- Re: RFC 104 (v1) Backtracking Chaim Frenkel
- Uses for array notation (was Re: RFC ... Jeremy Howard
- Re: RFC 104 (v1) Backtracking Nathan Torkington
- Re: RFC 104 (v1) Backtracking Chaim Frenkel