We don't bite newbies here... much | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Looking at making some changes to a module that loops over an array (actually a list, handed off from a file handle, where I'd like to loop on the handle itself). Internally, do for() and while() do the same thing, ie., are the following equivalent?:
With that simple example, they seem to do the same thing (in v5.22 on Linux Mint at least). But below the surface, do they really? -stevieb In reply to Internally, how do for() and while() differ? by stevieb
|
|