in reply to Rewrite in a more compact way
my $str = q{CALL DB_PROC_FOO(} . join(',', ('?') x $n) . ')';
(assuming that you don't care if $n is zero afterwards)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Rewrite in a more compact way
by Bloodnok (Vicar) on Nov 27, 2008 at 12:10 UTC | |
by moritz (Cardinal) on Nov 27, 2008 at 12:16 UTC | |
by ForgotPasswordAgain (Vicar) on Nov 27, 2008 at 12:33 UTC |