in reply to Rewrite in a more compact way

my $str = q{CALL DB_PROC_FOO(} . join(q{,}, (q{?}) x $n) . q{)};
In list context, ()x is the list repetition operator. It's one of the few cases in perl where () does something more than adjust precedence or delimit function parameters.