Do you know where your variables are? | |
PerlMonks |
Re^3: Splitting program into modulesby Anonymous Monk |
on Nov 13, 2018 at 05:13 UTC ( [id://1225683]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|