Algorithm::GenerateSequenceA sequence generator | |
Download |
Algorithm::GenerateSequence Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Richard Clamp
- Publisher web site:
- http://search.cpan.org/~rclamp/
Algorithm::GenerateSequence Tags
Algorithm::GenerateSequence Description
A sequence generator Algorithm::GenerateSequence is a sequence generator module.SYNOPSIS my $gen = Algorithm::GenerateSequence->new( , , ); print join(' ', $gen->next), " "; # one hey print join(' ', $gen->next), " "; # one bee print join(' ', $gen->next), " "; # two hey print join(' ', $gen->next), " "; # two bee ...Algorithm::GenerateSequence provides an iterator interface to a sequence you define in terms of the symbols to use in each position.You may use a different amount of symbols in each position and the module will iterate over them correctly. This might be useful in identifying all the cards in a deck: my $deck = Algorithm::GenerateSequence->new( , , );Or for a range of addresses to scan: my $scan = Algorithm::GenerateSequence->new( , , , ); Requirements: · Perl
Algorithm::GenerateSequence Related Software