Modules::ConfModules(3pm)

Modules::ConfModules3pm

Setup for conf.modules

Usage

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

Overview

Methods

The following methods exist in this module:

footprint()

This method returns 1 if /etc/conf.modules is being used on the machine. The test is if /etc/conf.modules exists and if /etc/modules.conf does not exists. If either of these are untrue, the method will return undef.