Lingua::ZH::CCDICT::ResultSet - Documentation for result set objects
my $results = $dict->match_unicode( chr 0x8830, chr 0x88A4 ); while ( my $item = $results->next ) { .. }
All dictionary searches return an iterator object of results. This class is the base class for all result set subclasses.
All result set classes provide these methods:
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.
Returns all of the items in the result set.
Resets the index so that the next call to next returns the first item in the set.
Returns a number indicating how many items have been returned so far.
David Rolsky <autarch@urth.org>
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.
To install Lingua::ZH::CCDICT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::ZH::CCDICT
CPAN shell
perl -MCPAN -e shell install Lingua::ZH::CCDICT
For more information on module installation, please visit the detailed CPAN module installation guide.