my @question_marks = ('?') x @column_names; #Thx [Zaxo] #### my $question_marks = join(',', ('?') x @column_names);