No. A::L::NestLoops provides an iterator; List::Comprehensions takes a callback.
While NestedLoops does provide an iterator, it also accepts a callback.
ormy $iter = NestedLoops(\@loops);
NestedLoops(\@loops, \&callback);
In reply to Re^4: loop over n-dimensional lattice
by ikegami
in thread loop over n-dimensional lattice
by 0AP0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |