Glenn Linderman wrote: >Eric Roode wrote: > >> 1. You don't say in your RFC, but I'm guessing, that a null value >> evaluates to false in a boolean context. Correct? > >I would expect it to be considered false. Logical expressions involving >NULL are defined to be "undefined", actually, which is not considered true. Hmmm. So: $a = null; $b = ($a == 42); print defined($b)? "defined" : "not defined"; would print "not defined", maybe? [snip] > $NULL = "NULL"; > >could be the default; and $NULL could be set to anything desired to be the >stringization for NULL. Setting $NULL to NULL would be special, and >equivalent to the $NULL = "NULL". Setting $NULL to undef could result in >warnings during stringization of NULL. And setting $NULL=null could result in infinite loops :-) ---------------------------------------------------------------------- Eric J. Roode, [EMAIL PROTECTED] print scalar reverse sort Senior Software Engineer 'tona ', 'reh', 'ekca', 'lre', Myxa Corporation '.r', 'h ', 'uj', 'p ', 'ts';
- Re: RFC 263 (v1) Add null() keyword and fundamental data ... Simon Cozens
- Re: RFC 263 (v1) Add null() keyword and fundamental data... Damian Conway
- Re: RFC 263 (v1) Add null() keyword and fundamental ... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and fundamental ... Damian Conway
- Re: RFC 263 (v1) Add null() keyword and fundamen... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and fundamental data ... Eric Roode
- RE: RFC 263 (v1) Add null() keyword and fundamental data ... Konovalov, Vadim
- Re: RFC 263 (v1) Add null() keyword and fundamental ... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and fundamen... Tom Christiansen
- Re: RFC 263 (v1) Add null() keyword and fundamental data ... Eric Roode
- Re: RFC 263 (v1) Add null() keyword and fundamental ... Tom Christiansen
- Re: RFC 263 (v1) Add null() keyword and fundamen... Russ Allbery
- Re: RFC 263 (v1) Add null() keyword and fundamen... John Porter
- Re: RFC 263 (v1) Add null() keyword and fund... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and fundamental ... Glenn Linderman
- Re: RFC 263 (v1) Add null() keyword and fundamental data ... Tom Christiansen
- RE: RFC 263 (v1) Add null() keyword and fundamental data ... David Grove