NAME
Devel::IPerl::Plugin::EnvironmentModules - Environment Modules
DESCRIPTION
A plugin to use when you have environment modules to work with.
The plugin is a wrapper for the Env::Modulecmd perl module.
SYNOPSIS
IPerl->load_plugin('EnvironmentModules') unless IPerl->can('module_load');
IPerl->module_load('git');
IPerl->module_unload('git');
INSTALLATION AND REQUISITES
IPerl Interface Method
register
Called by IPerl->load_plugin('EnvironmentModules')
.
REGISTERED METHODS
module_avail
IPerl->module_list;
Display a list of environment modules that are available.
module_load
IPerl->module_load('gcc');
Load a list of environment modules.
module_list
IPerl->module_list;
Display the list of environment modules that are loaded.
module_show
IPerl->module_show('gcc');
Display the environment modified by the given environment module.
module_unload
IPerl->module_unload('gcc');
Unload a list of environment modules.
INTERNAL METHODS
Not for end user consumption.
avail
my $p = Devel::IPerl::Plugin::EnvironmentModules->new();
$p->avail;
A more longwinded IPerl->module_avail;
.
load
my $p = Devel::IPerl::Plugin::EnvironmentModules->new();
$p->load('gcc');
A more longwinded IPerl->module_load;
.
list
my $p = Devel::IPerl::Plugin::EnvironmentModules->new();
$p->list();
A more longwinded IPerl->module_list;
.
new
my $p = Devel::IPerl::Plugin::EnvironmentModules->new();
Create a new instance.
show
my $p = Devel::IPerl::Plugin::EnvironmentModules->new();
$p->show('gcc');
A more longwinded IPerl->module_show;
.
unload
my $p = Devel::IPerl::Plugin::EnvironmentModules->new();
$p->unload('gcc');
A more longwinded IPerl->module_unload;
.