Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

RE: One Big script or many little ones?

by plaid (Chaplain)
on Jun 15, 2000 at 07:03 UTC ( #18232=note: print w/replies, xml ) Need Help??

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.
  • Comment on RE: One Big script or many little ones?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2022-01-23 19:43 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (64 votes). Check out past polls.