Is there a shorter, simpler, more elegant way to handle the right side of this? I just need selected elements of the referenced array, but normal slicing doesn't work:
Yes, I have a working solution. But I hate the clunky longhand that's involved, and I hope the wisdom of the Perl Monks can lead me to enlightenment.