Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my @c = map { my $t = $_; [ map [ $_, $t->[$_-1] ], 1..@a ] } @bc;
    
    pp @c;
    
  2. or download this
    (
      [[1, "a"], [2, "a"], [3, "a"]],
    ...
      [[1, "b"], [2, "b"], [3, "a"]],
      [[1, "b"], [2, "b"], [3, "b"]],
    )