syntax use
1 | language documentation Modules |
1.1 | (Modules) use |
Documentation for syntax use
assembled from the following types:
language documentation Modules
From Modules
(Modules) use
use
loads and then imports from a compunit at compile time. It will look for files that end in .pm6
(.pm
is also supported, but discouraged). See here for where the runtime will look for modules.
use MyModule;
This is equivalent to:
need MyModule; import MyModule;
See also selective importing to restrict what you import.