The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

  Bio::Grid::Run::SGE::Iterator::Consecutive - iterate consecutively through an index

SYNOPSIS

  my $index = Bio::Grid::Run::SGE::Index->new( format => 'Dummy', idx_file => undef )->create;

  my $it = Bio::Grid::Run::SGE::Iterator::Consecutive->new( indices => [$index] );

  # iterate from combinations 3 to 8
  $it->start( [ 3, 8 ] );

  my @result;
  while ( my $combination = $it->next_comb ) {
    push @result, $comb->[0];
  }

DESCRIPTION

This is the simplest iterator, it runs through a range of elements in an index.

ADDITIONAL METHODS

This index inherits methods from Bio::Grid::Run::SGE::Role::Iterable. See documentation at Bio::Grid::Run::SGE::Role::Iterable for more information.

Only additional methods are documented here.

SEE ALSO

Bio::Grid::Run::SGE::Role::Iterable, Bio::Grid::Run::SGE::Iterator

AUTHOR

jw bargsten, <jwb at cpan dot org>