in reply to undef and empty variables
It is my understanding that undef always becomes NULL, and that the handling of “an empty string” may vary. (Database drivers tend to try to second-guess that situation, and the outcome is typically not that bad ...)
Nevertheless, bear in mind that, in an array, undef is “a value.” The slot is occupied, although the value in that slot may be undef.
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: undef and empty variables
by locked_user sundialsvc4 (Abbot) on Jan 20, 2011 at 15:11 UTC |