Devel::IPerl::Plugin::EnvironmentModules - Environment Modules
A plugin to use when you have environment modules to work with.
The plugin is a wrapper for the Env::Modulecmd perl module.
IPerl->load_plugin('EnvironmentModules') unless IPerl->can('module_load'); IPerl->module_load('git'); IPerl->module_unload('git');
Called by IPerl->load_plugin('EnvironmentModules').
IPerl->load_plugin('EnvironmentModules')
IPerl->module_list;
Display a list of environment modules that are available.
IPerl->module_load('gcc');
Load a list of environment modules.
Display the list of environment modules that are loaded.
IPerl->module_show('gcc');
Display the environment modified by the given environment module.
IPerl->module_unload('gcc');
Unload a list of environment modules.
Not for end user consumption.
my $p = Devel::IPerl::Plugin::EnvironmentModules->new(); $p->avail;
A more longwinded IPerl->module_avail;.
IPerl->module_avail;
my $p = Devel::IPerl::Plugin::EnvironmentModules->new(); $p->load('gcc');
A more longwinded IPerl->module_load;.
IPerl->module_load;
my $p = Devel::IPerl::Plugin::EnvironmentModules->new(); $p->list();
A more longwinded IPerl->module_list;.
my $p = Devel::IPerl::Plugin::EnvironmentModules->new();
Create a new instance.
my $p = Devel::IPerl::Plugin::EnvironmentModules->new(); $p->show('gcc');
A more longwinded IPerl->module_show;.
IPerl->module_show;
my $p = Devel::IPerl::Plugin::EnvironmentModules->new(); $p->unload('gcc');
A more longwinded IPerl->module_unload;.
IPerl->module_unload;
To install Devel::IPerl::Plugin::EnvironmentModules, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::IPerl::Plugin::EnvironmentModules
CPAN shell
perl -MCPAN -e shell install Devel::IPerl::Plugin::EnvironmentModules
For more information on module installation, please visit the detailed CPAN module installation guide.