>>>>> "Alan" == Alan Burlison <[EMAIL PROTECTED]> writes: Alan> Graham Barr wrote: >> > Reduce (e.g. $x = reduce { sum } @list; Alan> Is it sufficiently more useful than: Alan> $x = 0; map $x += $_, @list; As long as you write that as: $x = 0; $x += $_ for @list; sure. :) "A proud member of the Help Stamp Out Void Map/Grep Committee" :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
- Re: PDL-P: Re: Reduce [was: R... Tuomas Lukka
- Re: PDL-P: Re: Reduce [was: R... Tim Jenness
- Re: PDL-P: Re: Reduce [was: R... Tuomas Lukka
- Re: PDL-P: indexing Joshua N Pritikin
- Re: PDL-P: indexing Jeremy Howard
- Re: PDL-P: Re: Reduce [was: R... Ariel Scolnicov
- Re: PDL-P: Re: Reduce [was: R... Jeremy Howard
- Re: PDL-P: Re: Reduce [was: R... Karl Glazebrook
- Re: Random items (old p5p issues) Graham Barr
- Re: Random items (old p5p issues) Alan Burlison
- Re: Random items (old p5p issues) Randal L. Schwartz
- Re: Random items (old p5p issues) Dan Sugalski
- Re: Random items (old p5p issues) Jeremy Howard
- Re: Random items (old p5p issues) Tim Jenness
- Re: Random items (old p5p issues) Dan Sugalski
- Matrix ops in perl 6 (was Re: Random i... Jeremy Howard
- Re: PDL-P: Matrix ops in perl 6 (... Christian Soeller
- Re: Random items (old p5p issues) Piers Cawley
- Re: Random items (old p5p issues) Chaim Frenkel
- Re: Random items (old p5p issues) Nathan Torkington