module

Power::Macros::Import

Power::Macros::Import contains the import mechanism macros which use the alias keyword to abstract the importing and reduce the LOC.

Macros

import(object, **kwargs)

Requires an :as keyword argument to function properly, it simply aliases the as keyword argument module/class to the first argument.

Source
import(module_name, class_names)

Requires a module name as a first argument and a class array, it simply iterates through the classes and aliases them to the module.

Source