“The major advantage of modules is that they make your code more
reusable. It’s not much more work to create a module than it is
just to hack together a one-time script, and you’ll save yourself
significant work in the future if the problem you’re solving is
ever likely to crop up again. Modules are also more maintainable,
which is another way of helping out your future self!”
The LXF Guide: Write a Perl module
By
Juliet Kemp
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis