Help for this page

Select Code to Download


  1. or download this
      DB<1> @x = ( [qw(a b c)], [qw(d e f)], [qw(g h i)])
    
    ...
       1  'h'
       2  'i'
      DB<3>
    
  2. or download this
    my @x = ( [qw(a b c)], [qw(d e f)], [qw(g h i)]);
    my $row = 1; # print this row
    ...
    {
        print "$x[$row][$col]\n";
    }
    
  3. or download this
    d
    e
    f