my $tstr = join ',', ("?") x @table; my $tv = join ',', @table;