Take me over?
NAME
Lingua::ZH::CCDICT::ResultSet - Documentation for result set objects
SYNOPSIS
my $results = $dict->match_unicode( chr 0x8830, chr 0x88A4 );
while ( my $item = $results->next )
{
..
}
DESCRIPTION
All dictionary searches return an iterator object of results. This class is the base class for all result set subclasses.
METHODS
All result set classes provide these methods:
$set->next()
Return the next item in the result set. If there are no items left then a false value is returned. A subsequent call will start back at the first result.
$set->all()
Returns all of the items in the result set.
$set->reset()
Resets the index so that the next call to next returns the first item in the set.
$set->count()
Returns a number indicating how many items have been returned so far.
AUTHOR
David Rolsky <autarch@urth.org>
COPYRIGHT
Copyright (c) 2002-2007 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.