... then wouldn't [\(@foo)] have to return a reference to that list ?
Not sure what it would have to... :) but as it is, it returns a reference to an anonymous array which has been initialised with references to the list's individual elements/values. Something quite different.
In reply to Re^5: referencing slices - love that DWIM
by almut
in thread referencing slices - love that DWIM
by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |