NAME
ArrayDataRole::Spec::Basic - Required methods for all ArrayData::* modules
VERSION
This document describes version 0.2.0 of ArrayDataRole::Spec::Basic (from Perl distribution ArrayData), released on 2021-04-20.
DESCRIPTION
The basic interface of an ArrayData module is a resettable iterator (Role::TinyCommons::Iterator::Resettable). You can call "reset_iterator" to jump to the first element, then call "get_next_item" repeatedly to get elements one at a time until all the elements are retrieved. If you need to go back to the first element, you can call "reset_iterator" again.
ROLES MIXED IN
Role::TinyCommons::Iterator::Resettable
REQUIRED METHODS
new
Usage:
my $ary = ArrayData::Foo->new([ %args ]);
Constructor. Must accept a pair of argument names and values.
PROVIDED METHODS
No additional provided methods.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/ArrayData.
SOURCE
Source repository is at https://github.com/perlancar/perl-ArrayData.
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/perlancar/perl-ArrayData/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
SEE ALSO
Role::TinyCommons::Iterator::Resettable
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.