P is for Practical | |
PerlMonks |
Re: m modifier not doing what I'm expecting?by Eliya (Vicar) |
on Dec 21, 2011 at 12:15 UTC ( [id://944607]=note: print w/replies, xml ) | Need Help?? |
You also want the /g modifier. (/m alone matches from the beginning every time, thus the endless loop...)
In Section
Seekers of Perl Wisdom
|
|