TIL that parentheses don't imply a list context
Ofcourse, I never said parentheses imply a list context, it's the comma operator that does.
But, what I did say/wrote is that the smartmatch ..infers contexts from the actual types of its operands and uses that type information to select a suitable comparison mechanism...
Any other which I missed?
Please, check perlop for detailed information
In reply to Re^3: ~~ and list literal
by 2teez
in thread ~~ and list literal
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |