http://www.perlmonks.org?node_id=680800


in reply to Perl 5.10 Regex - Named capture variables

This is the behavior that I'd expect. Specifically, %+ gets cleared before each regexp execution, so any matches you got before will not be carried over. This is equally true of capture variables $1, $2, etc.