in reply to Re: Assigning Null to a variable
in thread Assigning Null to a variable

I don't know enough about SQL to know how its  NULL compares to Perl's undef, but it strikes me that "I know what the value is, and the value is: that it is known that it has no value at all" is actually a pretty good (Update: well, on second thought, perhaps just a bit wordy) explanation of our friend undef!

Replies are listed 'Best First'.
Re^3: Assigning Null to a variable
by afoken (Chancellor) on Jul 02, 2012 at 19:13 UTC
    "I know what the value is, and the value is: that it is known that it has no value at all" is actually a pretty good explanation of our friend undef!

    ... and that's why DBI maps SQL's NULL to undef and vice versa.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)