http://www.perlmonks.org?node_id=1146150


in reply to Internally, how do for() and while() differ?

For further reading, i recommend doing a little studying on how loops are implemented in assembly language:

You don't have to be an assembly language expert, but simply browsing over the details can be enough to help you better understand the underlying "differences." ;)

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
  • Comment on Re: Internally, how do for() and while() differ?