[Dbix-class] '' != NULL for great sadness

Joel Bernstein joel at fysh.org
Thu Jul 9 15:11:56 GMT 2009


On 9 Jul 2009, at 16:00, fREW Schmidt wrote:
> On Thu, Jul 9, 2009 at 9:36 AM, Mike South <msouth at gmail.com> wrote:
> First thing I would try is going to
>
> http://search.cpan.org/~timb/DBI/DBI.pm
>
> search page for NULL, see if that helps.
>
> I looked through it and didn't see anything.  Someone told me it is  
> a function of the DBD so I am looking through DBD::ODBC, but so far,  
> no luck.


He gave you a pointer to the answer already.
Did you look at every occurrence of NULL on the DBI.pm POD?

I just searched the page for NULL and found the relevant info that you  
needed regarding how NULL values are represented to Perl and thus how  
to enter NULLs into the database. Do you really not see it?

/joel



More information about the DBIx-Class mailing list