We don't bite newbies here... much | |
PerlMonks |
Re: Hits on a reg expressionby asarih (Hermit) |
on Sep 15, 2003 at 20:31 UTC ( [id://291647]=note: print w/replies, xml ) | Need Help?? |
Read Perl Idioms Explained - @ary = $str =~ m/(stuff)/g. All you have to do then is to get $#ary+1.
In Section
Seekers of Perl Wisdom
|
|