@-
$-[0] is the offset of the start of the last successful match. $-[n] is the offset of the start of the substring matched by n-th subpattern, or undef if the subpattern did not match.
Thus, after a match against $_ , $& coincides with substr $_, $-[0],
$+[0] - $-[0] . Similarly, $n coincides with substr $_, $-[n],
$+[n] - $-[n] if $-[n] is defined, and $+ coincides with substr $_, $-[$#-], $+[$#-] - $-[$#-] . One can use $#- to find the last matched subgroup in the last successful match.