Nathan Wiger wrote: > > undef null > ------------------------ ------------------------ > $a = undef; $a = null; > $b = 1; $b = 1; > $c = $a + b; $c = $a + $b; > $c is 1 $c is null Uh, this is a difference in the implementations of the '+' operator, not the data value undef/null. Operators that treat undef the way SQL treats null are trivial to implement. > The keyword C<null> means that a value is B<known to be unknown>. Maybe in your head; not in perl (the implementation). -- John Porter We're building the house of the future together.
- Re: RFC 263 (v1) Add null() keyword and... Russ Allbery
- Re: RFC 263 (v1) Add null() keyword and... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and... Russ Allbery
- Re: RFC 263 (v1) Add null() keyword and... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and... John Porter
- Re: RFC 263 (v1) Add null() keyword and... Russ Allbery
- Re: RFC 263 (v1) Add null() keyword and... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and... Bryan C . Warnock
- Re: RFC 263 (v1) Add null() keyword and fundame... Paris Sinclair
- Re: RFC 263 (v1) Add null() keyword and fun... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and fundamental data... John Porter
- Re: RFC 263 (v1) Add null() keyword and fundamental... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and fundame... Tom Christiansen
- Re: RFC 263 (v1) Add null() keyword and fun... iain truskett
- Re: RFC 263 (v1) Add null() keyword and... Tom Christiansen
- Re: RFC 263 (v1) Add null() keyword and... iain truskett
- Re: RFC 263 (v1) Add null() keyword and fun... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and... Tom Christiansen
- Re: RFC 263 (v1) Add null() keyword and... Damien Neil
- Re: RFC 263 (v1) Add null() keyword and... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and... Tom Christiansen