compunit need

Documentation for compunit need assembled from the following types:

language documentation Modules

From Modules

(Modules) compunit need

need loads a compunit at compile time.

need MyModule;

Any packages in the namespace defined within will also be available.

# MyModule.pm6 
unit module MyModule;
 
class MyModule::Class {}

MyModule::Class will be defined when MyModule is loaded.