Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: swap columns in a 2-dim arrayby bart (Canon) |
on Jun 17, 2005 at 09:45 UTC ( [id://467632]=note: print w/replies, xml ) | Need Help?? |
Silly idea, perhaps: swapping rows an AoA is dead easy. So, perhaps you could transpose your matrix, swap the rows, and transpose it back.
In Section
Seekers of Perl Wisdom
|
|