I see. Yes, thanks for clarifying further. An array in scalar context evaluates to the number of items in the array, but the array slice is a list. Now that I think about it, a whole section of "context clash" could be how arrays and hashes behave in list and scalar context, or maybe another section still.
Thanks again for your input!
In reply to Re^4: RFC: Context tutorial
by kyle
in thread RFC: Context tutorial
by kyle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |