Help for this page

Select Code to Download


  1. or download this
    use Algorithm::Loops 'MapCar';
    
    ...
        ? MapCar {[@_]} map([split "\n"], @$_)
        : $_
    } @AoA;
    
  2. or download this
    use Test::More tests => 1;
    
    ...
    } @AoA;
    
    is_deeply \@results, $desired, "The arrays match!";