Reputation: 1691
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.
Upvotes: 4
Views: 485
Reputation: 20280
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.
Upvotes: 4