How to Install and Uninstall perl-MooseX-Iterator Package on openSuSE Tumbleweed

Last updated: May 20,2024

1. Install "perl-MooseX-Iterator" package

Please follow the steps below to install perl-MooseX-Iterator on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-MooseX-Iterator

2. Uninstall "perl-MooseX-Iterator" package

Please follow the guidelines below to uninstall perl-MooseX-Iterator on openSuSE Tumbleweed:

$ sudo zypper remove perl-MooseX-Iterator

3. Information about the perl-MooseX-Iterator package on openSuSE Tumbleweed

Information for package perl-MooseX-Iterator:
---------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-MooseX-Iterator
Version : 0.11-10.24
Arch : noarch
Vendor : openSUSE
Installed Size : 7.8 KiB
Installed : No
Status : not installed
Source package : perl-MooseX-Iterator-0.11-10.24.src
Upstream URL : http://search.cpan.org/dist/MooseX-Iterator/
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.