in reply to Re^2: The Null Mull (or, when OO needs more O)
in thread The Null Mull (or, when OO needs more O)
Still no:
BEGIN { &Internals::SvREADONLY(\undef, 0); ${ \undef } = 42; &Internals::SvREADONLY(\undef, 1); } my $x = undef; print( ((undef) ? 'True' : 'False'), $/); print( ((defined undef) ? 'True' : 'False'), $/); print( (($x) ? 'True' : 'False'), $/); print( ((defined $x) ? 'True' : 'False'), $/); print $x; __OUTPUT__ True True False False
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: The Null Mull (or, when OO needs more O)
by diotalevi (Canon) on Nov 29, 2004 at 22:07 UTC | |
by dragonchild (Archbishop) on Nov 30, 2004 at 13:35 UTC | |
by diotalevi (Canon) on Nov 30, 2004 at 14:07 UTC | |
by dragonchild (Archbishop) on Nov 30, 2004 at 14:22 UTC | |
by diotalevi (Canon) on Nov 30, 2004 at 14:32 UTC | |
|
In Section
Meditations