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