in reply to Re^4: The True but Zero value?
in thread The True but Zero value?
BTW, there is nothing special about 0E0. It could be 0E5 for instance. The important point is that the value is in engineering notation so is true as a string, but not true when interpreted as a number. You could also use "00" for this purpose as well.
"0 but true" is special however in that perl has specific exemptions for it internally.
---
$world=~s/war/peace/g
$world=~s/war/peace/g
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: The True but Zero value? (best)
by tye (Sage) on Mar 22, 2016 at 14:24 UTC | |
Re^6: The True but Zero value?
by Marshall (Canon) on Mar 22, 2016 at 12:15 UTC | |
by demerphq (Chancellor) on Apr 11, 2016 at 16:53 UTC | |
by Marshall (Canon) on Apr 11, 2016 at 18:04 UTC |
In Section
Seekers of Perl Wisdom