in reply to Is there a "better" way to cycle an array?

You can use the modulo operator:
for my $i (0 .. 29) { print $stuff->[ $i % @$stuff ]; }
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ