Scroll to navigation

DBM::Deep::Iterator(3pm) User Contributed Perl Documentation DBM::Deep::Iterator(3pm)

NAME

DBM::Deep::Iterator - iterator for FIRSTKEY() and NEXTKEY()

PURPOSE

This is an internal-use-only object for DBM::Deep. It is the iterator for FIRSTKEY() and NEXTKEY().

OVERVIEW

This object

METHODS

new(\%params)

The constructor takes a hashref of params. The hashref is assumed to have the following elements:

  • engine (of type DBM::Deep::Engine
  • base_offset (the base_offset of the invoking DBM::Deep object)

reset()

This method takes no arguments.

It will reset the iterator so that it will start from the beginning again.

This method returns nothing.

get_next_key( $obj )

2018-05-23 perl v5.26.2