See Comma Operator. The operator => is not a hash binder, but a special comma operator.
The if EXPR evaluates to either true or false, so EXPR is evaluated in scalar context, and in scalar context the comma operator does... There.
In reply to Re: why does typo work?
by shmem
in thread why does typo work?
by ggadd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |