where does it say that a slice is a list?
In a few places spread throughout perldata. Interestingly, the most direct statement on the subject is not from the section on Slices, but is a parenthetical remark in the section on Context:
Assignment to a list (or slice, which is just a list anyway) also evaluates the righthand side in list context.
In reply to Re^3: So what is an array slice anyway?
by revdiablo
in thread So what is an array slice anyway?
by beable
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |