|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^3: Different behaviors between "while" and "map"by betterworld (Deacon) |
| on Dec 06, 2008 at 01:42 UTC ( #728454=note: print w/ replies, xml ) | Need Help?? |
|
It helps to know that the loop is expanded to:
This shows that <...> is nothing more than a loop condition: the loop body is executed immediately after each evaluation of the <...> operator. This is how a while loop works.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||