|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: process array with while loopby monsieur_champs (Curate) |
| on Nov 09, 2006 at 17:38 UTC ( #583170=note: print w/ replies, xml ) | Need Help?? |
|
There are also other alternatives for foreach. My preferred one is map:
map allows you to work loops as mathematical application (or functions), and this is the closest approach to my world model. UPDATE:Many thanks to ww, ikegami, merlyn for their comments and corrections.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||