in reply to Re^4: A cleaner way of scoping variables
in thread A cleaner way of scoping variables
Nit: "The Real False" is not the empty string. It's the empty string in string context and 0 in numerical context. You can see the differnce using the following snippet:
use warnings; print(("")+1, "\n"); print((!1)+1, "\n");
If "The Real False" was simply an empty string, we'd see two warnings instead of
Argument "" isn't numeric in addition (+) at script.pl line 2. 1 1
|
|---|