November 2008
Intermediate to advanced
208 pages
4h 32m
English
As demonstrated in this chapter, whenever you have scripts that are similar in content, subject, or any other grouping that makes sense to you, consolidating the scripts into a "library" of sorts is a logical step. Instead of keeping up with many different files, you're looking at one. But, I would caution you not to get overzealous in consolidation or else you might catch a case of the "spaghetti-code syndrome," making code maintenance extremely frustrating, if not impossible. Good luck in your exploration of GetoptLong, RDoc, and script consolidation.
Read now
Unlock full access