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

NAME

M3::ServerView::ResultSet - Contents returned by a view

DESCRIPTION

Instances of this class functions as an iterator for iterating over results returned when searching a view.

INTERFACE

CLASS METHODS

new ( ARRAY )

Creates a new result set with the contents of the array reference ARRAY.

INSTANCE METHODS

all

Returns a list of all items in the result set.

count

Returns the number of items in the result set.

first

Returns the first item in the result set or undef if the result set is empty.

next

Returns the next item in the result set or undef if there's no more items.

reset

Resets the result set to start from the beginning again.