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