October 2019
Intermediate to advanced
269 pages
4h 46m
English
A module packages a host of functionalities into a single file, often under a single name. Being as it is a multi-paradigm language, these modules come under different flavors, but two rough categories: solo routines and classes/roles/grammars. As you have seen previously, Perl 6 packs most functionality into classes, but not all of them are, and of course, it’s up to you to decide which one is the best for your problem.
Modularity helps keep code files simple and coherent; it also helps document and distribute work among them. Let’s start with the ...
Read now
Unlock full access