Name : perl-MooseX-Iterator
| |
Version : 0.11
| Vendor : openSUSE
|
Release : lp152.3.2
| Date : 2019-11-07 18:23:01
|
Group : Development/Libraries/Perl
| Source RPM : perl-MooseX-Iterator-0.11-lp152.3.2.src.rpm
|
Size : 0.01 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : Iterate over collections
|
Description :
This is an attempt to add smalltalk-like streams to Moose. It currently works with ArrayRefs and HashRefs.
* next
The next method provides the next item in the colletion.
For arrays it returns the element of the array
For hashs it returns a pair as a hashref with the keys: key and value
* has_next
The has_next method is a boolean method that is true if there is another item in the colletion after the current item. and falue if there isn\'t.
* peek
The peek method returns the next item without moving the state of the iterator forward. It returns undef if it is at the end of the collection.
* reset
Resets the cursor, so you can iterate through the elements again.
|
RPM found in directory: /vol/rzm3/linux-opensuse/ports/aarch64/distribution/leap/15.2/repo/oss/noarch |