I thought the 3 variants are equivalent,They aren't. The first is an array in scalar context. The second is qw in scalar context. The third is nothing in scalar context.
Note that none of them is a list in scalar context - there is no such thing on the language level (after all, it's context that makes list).
In reply to Re: Empty List miracle(1)
by JavaFan
in thread Empty List miracle(1)
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |