Don't ask to ask, just ask | |
PerlMonks |
Re: Pattern Matching issueby changma_ha (Sexton) |
on Sep 16, 2010 at 09:27 UTC ( [id://860328]=note: print w/replies, xml ) | Need Help?? |
hi rookie Monk. What Anonymous monk said was right. after the first match $SetName will be $SetName= MR_P\\2\\3 and after the second match it will be $SetName= MR_PA\\3 so when the third match comes it cannot match it.... Thats why Hi!!1 does not get executed. hoope this will help.
In Section
Seekers of Perl Wisdom
|
|