Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Transposerby jdporter (Paladin) |
on Jul 13, 2005 at 15:30 UTC ( [id://474585]=note: print w/replies, xml ) | Need Help?? |
You said your motivation was a need to
take a list of tuples and give back the list of all the nth elements of each tuplebut the code you posted doesn't do exactly that. (It transposes a matrix, as already discussed.) So here's code that does exactly that. Trivial, as you can see.
In Section
Code Catacombs
|
|