| <h3 id='___get_modules'>get_modules</h3> |
| <pre>Get modules under current module (LLM: submodules) |
| <b>Usage:</b> @modules = get_modules($pattern, @options); |
| $pattern: Match pattern, can have wildcard "*", if it is empty, it is treated as "*" |
| @options: |
| -help: Print this information |
| -hier: Get all modules hierarchically |
| @modules: Modules list, ("module0", "module1", ...) |
|
|
| <b>Examples:</b> |
|
|
| @modules = get_modules("*TM*"); # Any hierarchical modules with TM in the name. |
| @modules = get_modules; # All hierarchical modules. |
| @modules = get_modules("-hier"); # All hierarchical modules and sub-modules under current module. |
| </pre> |