eval {$sth->execute($value) } if ($@) { print "Error\n"; }