ClamAV::Config(3pm)

ClamAV::Config3pm

A perl class providing configuration information for perl modules related to clamav

Usage

    use ClamAV::Config;
    
    # ClamAV base configuration:
    ClamAV::Config->config_dir;
    ClamAV::Config->clamd_config_file;
    
    # clamd run-time configuration:
    ClamAV::Config->clamd_config;
    ClamAV::Config->clamd_option($option);

Version

0.11

Overview

This class provides configuration information for Perl modules related to the ClamAV virus scanner, e.g. installation specific file system paths and run-time configuration options.

ClamAV base configuration

The following ClamAV base configuration information is provided as class methods:

config_dir

The base configuration directory of ClamAV.

clamd_config_file

The absolute file name of the clamd configuration file.

clamd run-time configuration

The following clamd run-time configuration information is provided as class methods:

clamd_config

Returns all clamd run-time configuration options as a hash reference.

clamd_option($option)

Returns the value of the specified clamd run-time configuration option.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0–6.0
  2. 7–10
  3. 11
  4. 12
  5. 13

Author

Julian Mehnle <[email protected]>

From libclamav-client-perl 0.11+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.