in reply to Re^5: Efficient but elegant Cross-Product iterator ?
in thread Efficient but elegant Cross-Product iterator ?

It's also semantically different!

The subs don't need to return a constant list, so each loop might restart with a new dynamic list.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^6: Efficient but elegant Cross-Product iterator ?