for my $i (0 .. 29) { print $stuff->[ $i % @$stuff ]; } [download]
In reply to Re: Is there a "better" way to cycle an array? by choroba in thread Is there a "better" way to cycle an array? by rje