Iterator::Misc

Iterator::Misc Perl module package contains miscellaneous iterator functions.
Download

Iterator::Misc Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Eric J. Roode
  • Publisher web site:
  • http://search.cpan.org/~roode/

Iterator::Misc Tags


Iterator::Misc Description

Iterator::Misc Perl module package contains miscellaneous iterator functions. Iterator::Misc Perl module package contains miscellaneous iterator functions.SYNOPSIS use Iterator::Misc; # Permute the elements of a list: $iter = ipermute (@items); # Select only every nth value of an iterator $iter = inth ($n, $another_iterator); # Randomly select iterator values with 1/$n probability $iter = irand_nth ($n, $another_iterator); # Fibonacci sequence $ifib = ifibonacci(); # default sequence starts with 1,1 $ifib = ifibonacci($a, $b); # or specify alternate starting pair # Geometric sequence $iter = igeometric ($start, $end, $multiplier);This module contains miscellaneous iterator utility functions that I think aren't as broadly useful as the ones in Iterator::Util. They are here to keep the size of Iterator::Util down.For more information on iterators and how to use them, see the Iterator module documentation. Requirements: · Perl


Iterator::Misc Related Software