Python has great module for working with iterators called itertools Is there any analog in Perl?
I know about Object-Iterate but it has only imap and igrep.
List::Gen does a lot of that.
While I don't know exactly what iterators you need, CPAN is full of them, it really depends on what you need. I needed iterators over all the combinations possible in an array: there's a CPAN module for that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With