in reply to push in for loop

You could try the repetition operator, eg:

my @problems = (1 .. 3); @problems = (@problems) x 2; say "@problems";