sub cycle { my ($repeat, $items, $index) = @_; return sub { $items->[ int ($index++ / $repeat) % @$items ]; } }
MeowChow s aamecha.s a..a\u$&owag.print
In reply to Re: Simple Rotation
by MeowChow
in thread Simple Rotation
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |