I have found that the easiest version for me to read (and understand when I come back to it later) is an interpolated array:
my @qm = ('?') x $n; my $str = do {local $" = q{,}; "CALL DB_PROC_FOO(@qm)"};
In reply to Re: Rewrite in a more compact way
by Narveson
in thread Rewrite in a more compact way
by andreas1234567
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |