Summary

In this hour you learned how to collect your code into useful groupings called modules. These modules can be shared among multiple programs. This has the benefits of allowing you to use the same code in many places without cutting-and-pasting, making the code easier to maintain by having only one copy of shared code, and grouping useful subroutines together by function.

Get SAMS Teach Yourself Perl in 24 Hours THIRD EDITION now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.