in reply to
Can't understand why /g does not work as I expect
To see what is going on, use very short sample input and
use re 'debug';
[download]
Comment on
Re: Can't understand why /g does not work as I expect
Download
Code
In Section
Seekers of Perl Wisdom