in reply to Re: DBI Multidimensional array
in thread DBI Multidimensional array

No, please don't do it that way.
1. You are quoting the values yourself
2. You are using do() instead of prepare() and execute()
# assuming data is in @array my $sth = $dbh->prepare('INSERT INTO foo (bar, baz) VALUES (?, ?)'); $sth->execute(@$_) for (@array);
--perlplexer

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.