[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Iternating over multiple lists



Adam Sampson wrote:
> 
> On Wed, Apr 12, 2000 at 05:54:19AM +0000, John Carter wrote:
> > > What perl needed to make the solution to this problem trivial (and
> > > elegant) is "multiple map" (or, if you rather "parallel map").  That
> > > is, imagine if you could do:
> > >
> > >    mmap {BLOCK} list1 list2 list3 list4 

I'm missing something.  What is this supposed to return
that 

map {BLOCK} (list1, list2, list3, list4)


or even, if they're all list references,

map {[map {BLOCK} @$_]} (list1, list2, list3, list4)


doesn't?



-- 
                          David Nicol 816.235.1187 nicold@umkc.edu
                                drawn to the speed and performance

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe