Problems? Is your data what you think it is? | |
PerlMonks |
Re: how to find substring using regexby zek152 (Pilgrim) |
on Jun 22, 2011 at 17:29 UTC ( [id://910946]=note: print w/replies, xml ) | Need Help?? |
Code tags are your (and our) friends. Your problem is that you don't store the number of matches. The following code will fix your issue.
In Section
Seekers of Perl Wisdom
|
|