Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: Re: Re: pattern matching on a single lineby lestrrat (Deacon) |
on Jun 06, 2001 at 01:13 UTC ( [id://86016]=note: print w/replies, xml ) | Need Help?? |
map actually returns the result of EXPR in LIST context. That means each evaluation of
returns the list of captured items. So in effect we get
So the resulting array is one big array with all of the matches that EXPR produced
In Section
Seekers of Perl Wisdom
|
|