in reply to class-dbi-mysql and null values

...I get the bareword error
NULL is not a perl keyword. Try $case->owner('NULL');

Replies are listed 'Best First'.
Re^2: class-dbi-mysql and null values
by davidj (Priest) on Nov 05, 2006 at 09:52 UTC
    Yeah, when I tried  $case->owner(NULL) I quickly realized why it didn't work. I also tried  $case->owner('NULL') and it sets he value of the field to the string NULL.
    davidj