![]() |
|
XP is just a number | |
PerlMonks |
Re: Re: Re: pattern matchingby physgreg (Scribe) |
on Aug 21, 2002 at 13:07 UTC ( #191717=note: print w/replies, xml ) | Need Help?? |
If you want to act on more than one id then try
The /g gets all matches of the regex, so the captured bit ($1,$2) will be updated for each match in the while loop.
In Section
Seekers of Perl Wisdom
|
|