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

Changes for version 0.05

  • added a getLegnth method and tested it
  • changed how currentIndex deals with index of 0, it now does it correctly.
  • made current use currentIndex to get the current index
  • made Array::Iterator more subclass friendly by adding some 'protected' methods to access some fields with
  • added some subclasses:
    • Array::Iterator::BiDirectional
    • Array::Iterator::Circular
    • Array::Iterator::Reusable
  • created tests for all these new modules

Modules

A simple class for iterating over Perl arrays
A subclass of Array::Iterator to allow forwards and backwards iteration
A subclass of Array::Iterator to allow circular iteration
A subclass of Array::Iterator to allow reuse of iterators