http://www.perlmonks.org?node_id=1039443


in reply to Main routines, unit tests, and sugar

I designed my own coding style to answer this issue for myself. Mine is the "main is the last code in the file" option, as already suggested by others.

I upvoted this for one reason: seeing someone work through an issue and find an appropriate, personally meaningful, solution is always a good thing!

Lee Crites
lee@critesclan.com