DBM::Deep::Iterator::Index
This is an internal-use-only object for "" in DBM::Deep. It acts as the mediator between the "" in DBM::Deep::Iterator object and a "" in DBM::Deep::Engine::Sector::Index sector.
This object, despite the implied class hiearchy, does NOT inherit from "" in DBM::Deep::Iterator. Instead, it delegates to it, essentially acting as a facade over it. "get_next_key" in DBM::Deep::Iterator will instantiate one of these objects as needed to handle an Index sector.
The constructor takes a hashref of params and blesses it into the invoking class. The hashref is assumed to have the following elements:
iterator (of type "" in DBM::Deep::Iterator
sector (of type "" in DBM::Deep::Engine::Sector::Index
This takes no arguments.
This returns true/false indicating whether this sector has any more elements that can be iterated over.
This returns an iterator (built by "get_sector_iterator" in DBM::Deep::Iterator) based on the sector pointed to by the next occupied location in this index.
If the sector is exhausted, it returns nothing.
To install DBM::Deep, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBM::Deep
CPAN shell
perl -MCPAN -e shell install DBM::Deep
For more information on module installation, please visit the detailed CPAN module installation guide.