in reply to Re: Empty List miracle(1)
in thread Empty List miracle(1)
... 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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Empty List miracle(1)
by moritz (Cardinal) on Apr 30, 2010 at 06:28 UTC | |
by chromatic (Archbishop) on Apr 30, 2010 at 07:29 UTC | |
by Anonymous Monk on Apr 30, 2010 at 09:39 UTC |