> $a = null; > $b = ($a == 42); > print defined($b)? "defined" : "not defined"; >would print "not defined", maybe? In a sane world of real (non-oo-sneaky) perl, the "==" operator returns only 1 or "". Both are defined. --tom
- 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