P
Peter J. Holzer
In particular, this is Oracle. As I understand it, it implements
varchar NULL as a null string.
Nope, its the other way around: You cannot store an empty string in an
Oracle varchar2, it's automatically converted to NULL. Actually, it
looks like '' is just another notation for NULL in Oracle: You can
insert '' into a numeric column (resulting in a null value) and neither
''='' nor ''!='' is true).
It may be DBI,
DBI returns undef if the value is null.
or the database wrappers we've put around it, or other functions
around them,
Probably. So you probably should hunt down that function that converts
undef to '' and check whether its really supposed to do that and whether
its the right function for the problem.
hp