when used in a scalar context. A list returns the last item in a list.
Lots of different types of lists return lots of different things in scalar contexts. The most common behavior is to return the last item.
- tye (but my friends call me "Tye")In reply to (tye)Re2: List context or not?
by tye
in thread List context or not?
by sguazt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |