in reply to Re^5: Best Hash Practices?
in thread Best Hash Practices?
I think there is a better example than 0.0, 0E0.
I don't see why. Everything you said about "0E0" applies to "0.0".
Folks using the DBI should be aware of this 0E0 stuff.
Totally irrelevant. "0E0" is not the exception, "0" is. All strings are true except for "0". You hadn't mentioned "0". It's rather important because I often see people think "The var can either be a string or undef, so a simple truth test will differentiate the two."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Best Hash Practices?
by Marshall (Canon) on Oct 12, 2009 at 00:01 UTC |