Help for this page

Select Code to Download


  1. or download this
    my $aoa = [ [1],[2],[3,4] ];
    my @flat = map { @$_ } @$aoa;  # @flat = (1,2,3,4)