|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: Regexp::Assemble hangs with a certain caseby golux (Scribe) |
| on Nov 15, 2012 at 16:44 UTC ( #1004039=note: print w/ replies, xml ) | Need Help?? |
|
Hi Kimmel, It's because in the second case, $content matches the $regex (at the same location each time), so you're never changing the condition; hence never exiting the loop. Try changing "while" to "if", perhaps?
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||