Help for this page

Select Code to Download


  1. or download this
    print @array;
    
  2. or download this
    use strict;
    
    ...
    my @d = (\@a, \@b, \@c);
    
    print @{ @d[0] }; #print the first row (a b c)
    
  3. or download this
    use strict;
    
    ...
    my $d = [\@a, \@b, \@c];
    
    print @{ $d->[1] }; # print the second row (d e f)