Think about Loose Coupling | |
PerlMonks |
Re: foreach loopsby Mr. Muskrat (Canon) |
on Dec 22, 2004 at 06:30 UTC ( [id://416709]=note: print w/replies, xml ) | Need Help?? |
Something that has not been mentioned in this thread or in for loops is the reversed form of the for/foreach loop. This code is no different than the following except that the for comes at the end (and that you are forced to use $_ as the loop variable).
In Section
Tutorials
|
|