Neil Saunders posts a Perl trick on his blog that he says he always forgets about. The code he posts allows him to create an array that has 20 elements, and he also posts a repetition operator that he's found useful. A commenter on his blog points out there's a way to do that in Ruby, too.