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


in reply to Re: reset of match variables
in thread reset of match variables

Warnings do nothing: if the regexp fails then it'll return false, which is 0 when treated as a number, not undef, and without a warning.