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


in reply to Re^2: Splitting program into modules
in thread Splitting program into modules

I hope you're not recommending 14,000 lines of main program in a single file!

I prefer writing, and hacking on, single file programs. It's much easier than remembering which module contains what code that's performing some action from a distance. I like to keep as much code as possible in the main program file. That being said, I also use plenty of modules, impose sane order on the source to ease navigation, and document everything.