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


in reply to Re: Regex capture consumed by non-capturing match
in thread Regex capture consumed by non-capturing match

I feel dumb. Thank you for pointing this out.
As far as your suggestion goes I prefer to fix the function to make a copy of @_, instead of expecting the user of the function to remember this subtle behavior.

Thanks again!