in reply to Extracting a slice from an array ref
See References Quick Reference. -> is basically short-hand for "${...}" which means you can't use it as shorthand for "@{...}" nor "%{...}".
But there is some support for adding a new array slice syntax of ->@[...] (and similar constructs) to allow more syntactic flexibility for dealing with references.
- tye (but my friends call me "Tye")
|
|---|