|<B>countB>||Returns the number of search results. This number will always be the same unless you stick your fat dirty fingers into the object and abuse it. This number is not affected by calls to get_iterator().|
Returns a reference to a subroutine which is used to iterate over the
Evaluating it in scalar context, returns the next object or undef if all the results have already been iterated over. Note that for each object to be instantiated with correct values, <B>B>retrieve()<B>B> method is called on the object before returning it to the caller.
Evaluating the subroutine reference in list context returns a list of all results fully instantiated. WARNING: this may be expensive, as each object is issued <B>B>retrieve()<B>B> method. Subsequent calls to the iterator result in empty list.
You may safely mix calling the iterator in scalar and list context. For example:
You can get as many iterators as you want they will not step on each others toes.
|<B>newB>||You should not have to call it yourself, but just for the sake of completeness, here are the arguments:|
Dmitri Tikhonov <firstname.lastname@example.org>
|perl v5.20.3||RT::CLIENT::REST::SEARCHRESULT (3)||2015-11-27|