Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        # print "@array\n";
        print join ('', @array), "\n";
    }
    
  2. or download this
    sub iter {
        my $zero  = shift || 3;
    ...
    while (my $str = $i->()) {
        print "$str\n";
    }
    
  3. or download this
        $cand < $#array - 1 and
             @array[$cand+1..$#array] = reverse @array[$cand+1..$#array];