In this chapter, we went through the main steps of working with modules. First, we saw how to create a module and how to tell the compiler where to find it. Then, we examined different ways of loading modules and importing names from them. Finally, we went to a Rakudo-specific module management tool, zef, and used it to install and uninstall modules and looked at the internal storage that Rakudo uses for saving the modules on disk.
In the next chapter, Chapter 8 , Object-Oriented Programming, we will talk about classes, which share some common elements with modules in how the code is located in separate files.