Help for this page

Select Code to Download


  1. or download this
    use mapcar;
    
    ...
    cd  kl  st
    ef  mn  uv
    gh  op  wx
    
  2. or download this
     
    use Algorithm::Loops qw(MapCar);
    
    ...
    my @transposed = MapCar {[@_]} @matrix;
    
    print join( "  ", @$_), $/ for @transposed;