in reply to How to know that a regexp matched, and get its capture groups?

The captures also live in the @+ and @- arrays. See perlvar on them.