in reply to How best to oganize this perl code

Unix approach: have lots of different, small, programs that each do one task well.
MS approach: have huge programs each one having everything and three kitchen sinks.