Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: Style: buried variables or double referencing?

by merlyn (Sage)
on Aug 21, 2005 at 15:09 UTC ( #485536=note: print w/replies, xml ) Need Help??

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.

  • Comment on Re^3: Style: buried variables or double referencing?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://485536]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2020-11-25 05:00 GMT
Find Nodes?
    Voting Booth?

    No recent polls found