I'd do like jZed but I think this is a good opportunity to use map:
my $table_def = join ',', map { "INT column$_" } @columns; $dbh->do("CREATE TABLE my_table ($table_def)");
update: thanks to davidrw for the correction
In reply to Re: A large table with DBI
by duff
in thread A large table with DBI
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |