Help for this page

Select Code to Download


  1. or download this
    my $c = -$l;
    push @b, [ grep {defined $_} @a[($c+=$l)..($c+$l-1)] ] for 0 .. $#a/$l
    
  2. or download this
    push @b, [ grep {defined $_} @a[$_*$l .. ($_*$l+$l>$#a ? $#a : $_*$l+$
    +l-1)] ]
        for 0 .. $#a/$l;