Please tell us what error you get?
In reply to Re: DBI: passing undef as an argument by mje in thread DBI: passing undef as an argument by fws