in reply to undef vs 0
Have getConfigValue return the string "0E0", Or$a = "0E0" || 1; die $a;
The real question is why write such a module when there are tons of them? Nevermindmy $foo = getFoo("foo") ; $foo = 1 unless defined $foo;
MJD says you can't just make shit up and expect the computer to know what you mean, retardo! ** The Third rule of perl club is a statement of fact: pod is sexy. |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: undef vs 0
by skx (Parson) on Feb 06, 2003 at 11:30 UTC |