in reply to One Big script or many little ones?
In general, I prefer to put things in the same file unless
they are going to be reusable, in which case it's better to
stick them in a module. Instead of splitting things into
different scripts for maintainability, try taking the parts
you would put in a different file and instead just stick
them in different subs. I find it pretty easy to navigate
around code that's logically split up and separates the big
chunks into functions that can be pored over if needed, but
can just as easily be skipped without any loss of
continuity.
|