| 0 == $mask & $value | becomes | (0 == $mask) & $value |
| !$switch + $base | becomes | (!$switch) + $base |
Getting people to remember the new precedences when writing new code would probably be really hard, on the other hand. Like you said, there'd be a flood of "why doesn't my script work?" questions.
In reply to Re: Re: Will/Can Perl 6 clean up the bit-wise operator precedence mess?
by chipmunk
in thread Will/Can Perl 6 clean up the bit-wise operator precedence mess?
by tye
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |