Modules::Generic(3pm)

Modules::Generic3pm

Generic modules setup function

Usage

 my $modulesconf = new Modules::ModulesConf(%vars);
 if ($modulesconf->footprint()) {
      $modulesconf->setup();
 }
 my @fileschanged = $modulesconf->files();

Overview

Methods

The following methods exist in this module:

files()

The files method is merely an accessor method for the all files touched by the instance during its run.

footprint()

Otherwise, this method will return undef.

setup()

The setup method sets up the /etc/modules.conf file for use.