Help for this page

Select Code to Download


  1. or download this
    my (@b) = qw(un deux trois quatre jedan dva tri
    tcheteri  one two three );
    
  2. or download this
    my ($max) = sort {$b <=> $a} map length, @a;
    
  3. or download this
    my $col=4;
    for(@b){ $_ = substr($_ . ' ' x $max, 0, $max +1)}
    @a = @b;
    for (;@a;){print splice (@a, 0, $col),"\n"}
    
  4. or download this
    @a = @b;
    my @c;
    ...
         } (0 .. $#b);
    }
    map {print @$_,"\n"} @c;
    
  5. or download this
    use strict;
    use warnings;
    ...
         } (0 .. $#b);
    }
    map {print @$_,"\n"} @c;