in reply to /m pattern matching modifier

Thanks to all of you, now I understand what happened on the code. But I have to admit that pattern searching on scalar with /g is a bit "out of" my thinking logic :-).

Once again, thank you all for your help. It is a productive discussion for me.