in reply to Large-scale code documentation

You might find perltidy useful to get the code in shape. It also might be helpful for documentation.

TidyFoo