Hash-StoredIterator
view release on metacpan or search on metacpan
eech
use hmap instead
CAVEATS
Modification of hash during iteration
Just like with the builtin each() modifying the hash between calls to
each is not recommended and can result in undefined behavior. The
builtin each() does allow for deleting the iterations key, however
that is NOT supported by this library.
sort() edge case
For some reason [sort hkeys %hash] and [sort hkeys(%hash)] both
result in a list that has all the keys and values (and strangely not
in sorted order). However [sort(hkeys(%hash))] works fine.
AUTHORS
lib/Hash/StoredIterator.pm view on Meta::CPAN
=back
=head1 CAVEATS
=over 4
=item Modification of hash during iteration
Just like with the builtin C<each()> modifying the hash between calls to each
is not recommended and can result in undefined behavior. The builtin C<each()>
does allow for deleting the iterations key, however that is B<NOT> supported by
this library.
=item sort() edge case
For some reason C<[sort hkeys %hash]> and C<[sort hkeys(%hash)]> both result in
a list that has all the keys and values (and strangely not in sorted order).
However C<[sort(hkeys(%hash))]> works fine.
=back
( run in 3.340 seconds using v1.01-cache-2.11-cpan-71847e10f99 )