in reply to Re: perl - loop
in thread perl - loop

Your suggestions have the added benefits that you get to unit-test basic functionality as well as structuring that lower-level functionality as a set of subs.