in reply to Re: Using CGI.pm params to make a DBI MySQL query
in thread Using CGI.pm params to make a DBI MySQL query

You'll want scalar there, lest you be burned the day someone gives you none or two parameters for Col1 and friends.
my $result = $dbh->do("INSERT INTO tbl VALUES(?,?,?)", undef, map scalar param($_), qw(Col1 Col2 Col3));

-- Randal L. Schwartz, Perl hacker