in reply to Regex shows only last match multiple times?
aha,
Answering my own question..
Obviously I should use while as opposed to foreach as it otherwise keeps interpolating the variable $1
Answering my own question..
Obviously I should use while as opposed to foreach as it otherwise keeps interpolating the variable $1
In Section
Seekers of Perl Wisdom