in reply to
Matching multiple {hits}
«if (//g)» not only makes no sense conceptually ("Check if it matches, then check again to make sure"?), it's buggy. You shouldn't see that in your program.
Comment on
Re: Matching multiple {hits}
In Section
Seekers of Perl Wisdom