in reply to Re: Re: Grabbing lines three-by-three from a file
in thread Grabbing lines three-by-three from a file
Instead of:while (something()) { # Lots of stuff, nested functions, etc. last if ($condition); # Move to Post-Processing # Lots more stuff } # Post-Processing more_stuff();
If the while() structure was very long, it might be easier to scan for a carefully worded comment.PROCESS: while (something()) { # Lots of stuff, nested functions, etc. last PROCESS if ($condition); # Lots more stuff } more_stuff();
_10: print "Hello"; _20: goto _10;
|
|---|