Help for this page

Select Code to Download


  1. or download this
    my @a = 1 .. 4; my @b = "a" .. "d";
    my @c = (@a, @b);
    ...
    
    # Or...
    push @a, @b;
    
  2. or download this
    my @c;
    push @c, [ $a[$_], $b[$_] ] for 0 .. $#a;