Fedora Packages

perl-Hash-StoredIterator

Functions for accessing a hash's internal iterator

In perl all hashes have an internal iterator. This iterator is used by the each() function, as well as by keys() and values(). Because these all share use of the same iterator, they tend to interact badly with each other when nested. Hash::StoredIterator gives you access to get, set, and init the iterator inside a hash. This allows you to store the current iterator, use each / keys / values etc., and then restore the iterator, which helps you to ensure you do not interact badly with other users of the iterator. Along with low-level get / set / init functions, there are also 2 variations of each() that let you act upon each key/value pair in a safer way than vanilla each(). This module can also export new implementations of keys() and values() that stash and restore the iterator so that they are safe to use within each().

Releases Overview

Release Stable Testing
Fedora Rawhide 0.008-26.fc40 -
Fedora 40 0.008-26.fc40 -
Fedora 39 0.008-24.fc39 -
Fedora 38 0.008-22.fc38 -
EPEL 8 0.008-12.el8 -
EPEL 7 0.007-2.el7 -
File a new bug report »
Package Info

You can contact the maintainers of this package via email at perl-Hash-StoredIterator dash maintainers at fedoraproject dot org.



Sources on Pagure