Help for this page

Select Code to Download


  1. or download this
    by_groups_of( 3, \@array );
    by_groups_of( 3, [ \(@array) ] );
    
  2. or download this
    return sub { \@_ }->( @$list[ $start .. $stop ] );
    return [ @{$ra_list}[$start .. $stop] ];