Help for this page

Select Code to Download


  1. or download this
    my @array = ( [ 1..3 ], [ 2..6 ] );
    
    ...
            print "$element\n";
        }
    }
    
  2. or download this
    my @array = ( [ 1..3 ], [ 2..6 ] );
    print map {"$_\n"} map {@$_} @array;