Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Transpose a matrix of chars

by ysth (Canon)
on Jul 04, 2005 at 22:42 UTC ( [id://472322]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $max_col = (sort {$a <=> $b} map $#$_, @rows)[-1];
    
  2. or download this
    my ($max_col) = sort {$b <=> $a} map $#$_, @rows;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-26 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found