my $sth_md5=$dbh->prepare("SELECT MD5(concat(?,?,?,?))"); ... ... $rv = $sth_md5->execute($computer,$share,$fullpath,$entry);