in reply to Truth and Falsehood
The "special false" is dual valued. You can reproduce it like this:
(Which gives a warning.) Now "$false" is exactly the same as "not 1".$false = ''; $foo = $false + 0;
Or more explicit:
use Scalar::Util 'dualvar'; $false = dualvar(0, '');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Truth and Falsehood
by haukex (Archbishop) on Nov 01, 2019 at 23:02 UTC |