|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: Re: Re: Re: pattern matching on a single lineby lestrrat (Deacon) |
| on Jun 05, 2001 at 21:13 UTC ( [id://86016]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||