This works as expected (IE does not die) for any value of $foo except undef or empty string
It would also fail for $foo = 0; ## 0.0, '0' etc.. Also, your or do{ die ... }; could simply be or die...; if you've nothing else to do before you die.
In reply to Re: Eval, assignments, and empty string/undef
by BrowserUk
in thread Eval, assignments, and empty string/undef
by jpepersack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |