in reply to class-dbi-mysql and null values
I found a resolution. Its actually quite simple: just test for the length of the owner parameter and explicity asign undef if the length is 0.
davidj
Thanks for you assistance,if (length($owner) > 0) { $case->owner( $q->param('owner') ); } else { $case->owner( undef ); }
davidj
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: class-dbi-mysql and null values
by davidrw (Prior) on Nov 05, 2006 at 13:19 UTC |
In Section
Seekers of Perl Wisdom