Between ( '?' ) x @ins and map { '?' } @ins, the first is more efficient. There's no loop - it just creates the right number of elements in place.
In reply to Re^2: DBI and variable numbers of bind parameters
by diotalevi
in thread DBI and variable numbers of bind parameters
by friedo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |