Constants don't have leading dollar signs.
do_something() if (CONSTANT); do_something_else() if (CONSTANT & ANOTHER_CONSTANT);
If there's a dollar sign, it's not a constant, and Perl won't optimize it away.
In reply to Re^2: Conditional Interpretation?
by ikegami
in thread Conditional Interpretation?
by earcam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |