Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How to swap rows with columns?

by dragonchild (Archbishop)
on Nov 01, 2007 at 20:12 UTC ( #648550=note: print w/replies, xml ) Need Help??


in reply to How to swap rows with columns?

use List::MoreUtils qw( each_array ); my $iterator = each_array( @a, @b, @c ); while ( my @col = $iterator->() ) { print "@col\n"; }

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://648550]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2021-01-18 23:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?