Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: How to swap rows with columns?

by johngg (Canon)
on Oct 10, 2007 at 14:22 UTC ( [id://643966]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
       0 .. max(map { $#{ $_ } } @arr);
    
    print Data::Dumper->Dumpxs([\@transposed], [q{*transposed}]);
    
  2. or download this
    @arr = (
             [
    ...
                      'sei'
                    ]
                  );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found