Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: How to properly use modules?

by Anonymous Monk
on Apr 21, 2012 at 06:53 UTC ( #966316=note: print w/replies, xml ) Need Help??


in reply to Re: How to properly use modules?
in thread How to properly use modules?

Actually no :) DRY says make subroutines/modules, not put it all in one file

Sure, you could turn four scripts into one module, or you could turn them into four modules, it all depends on how much they share

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966316]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2017-06-27 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (598 votes). Check out past polls.