in reply to exist backreference variable list?

Personally, I haven't encountered a situation where I needed them, but perlvar also shows @+ and @-, which contain the start and end positions of the captured patterns in the target string. You can iterate over 0..@- to enumerate them all.