... the default behaviour of a list is scalar context is to return its last element...
... depending on associativity and precedence and arity and the presence of any prototypes in the surrounding expression which may change any of the former, so the choice of the word "default" is, at best, misleading.
In reply to Re^2: Empty List miracle(1)
by chromatic
in thread Empty List miracle(1)
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |