http://qs321.pair.com?node_id=485536


in reply to Re^2: Style: buried variables or double referencing?
in thread Style: buried variables or double referencing?

So Having all four phases in one script
All in one script? How do you test that? I would have broken it into modules the moment I hit 500 lines. Especially since there is common code, and a large amount of it, that receives varying parameters: perfect thing to want to test that formally so that I can isolate a problem between called subroutines and calling code.
reduced total code lines because common elements are not rerpoduced in separate scripts
Uh, that's what a module is for. If you have cut-n-paste worry, then you aren't using modules right
a change to any common element only has to be made once instad of four times
Again, a sign that you don't understand modular development.

I'm betting I would cringe looking at your "script". Mostly because I've seen far too many already in my life, and I think I've nearly used up my quota. {grin}

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.