We don't bite newbies here... much | |
PerlMonks |
Re^3: Different behaviors between "while" and "map"by betterworld (Curate) |
on Dec 06, 2008 at 01:42 UTC ( [id://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
|
|