my $cmd = "select * from info where key = ?"; my $sth = $dbh->prepare($cmd); $sth->execute($key_sel);