Given the following documented "Bug":
Currently, assigning a boolean value to a variable causes the booleanity to be lost. This code dies:$x = true; isBoolean($x) || isTrue($x) or die;
I'm not terribly surprised that such a fundamentally broken module isn't widely used. I've also never found the supposed lack of a boolean data type in Perl to be a problem. I also find the way that isTrue() and isFalse() are defined to look like really bad ideas (because they make the existance of such a fundamental bug not surprising).
- tye
In reply to Re^3: Boolean::all gone? (good?)
by tye
in thread Boolean::all gone?
by adrive
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |