Documentation for compunit
use assembled from the following types:
use loads and then imports from a compunit at compile time. It will look for files that end in
.pm is also supported). See here for where the runtime will look for modules.
It is equivalent to:
need MyModule; import MyModule;
See also Selective Importing to restrict what you import.