NAME

Ixchel::Actions::perl_module_via_pkg - Install Perl modules via the package manager.

VERSION

Version 0.3.0

CLI SYNOPSIS

ixchel -a perl_module_via_pkg --module <module>

CODE SYNOPSIS

my $results=$ixchel->action(action=>'perl_module_via_pkg', opts=>{module=>'Monitoring::Sneck'});

if ($results->{ok}) {
    print $results->{status_text};
}else{
    die('Action errored... '.joined("\n", @{$results->{errors}}));
}

FLAGS

--module <module>

The module to install.

This must be specified.

RESULT HASH REF

.errors :: A array of errors encountered.
.status_text :: A string description of what was done and the results.
.ok :: Set to zero if any of the above errored.