my $sql = 'SELECT * FROM clttable WHERE clt LIKE ?'; my $sth = $dbi->prepare $sql; #### $sth->execute('John*');